aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEvgeny Khramtsov <ekhramtsov@process-one.net>2019-07-16 18:06:47 +0300
committerEvgeny Khramtsov <ekhramtsov@process-one.net>2019-07-16 18:06:51 +0300
commit0e48adb1edff8557d7a540d9e777fba584a430e6 (patch)
treeb05b22cc491c3d3016d14c3b0471684b7a8772ce /src
parentUse econf:timeout/2 (diff)
Fix opt_type.sh script and re-generate options
Diffstat (limited to 'src')
-rw-r--r--src/mod_muc_opt.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mod_muc_opt.erl b/src/mod_muc_opt.erl
index 6beca88cd..2e2bbc945 100644
--- a/src/mod_muc_opt.erl
+++ b/src/mod_muc_opt.erl
@@ -82,7 +82,7 @@ default_room_options(Opts) when is_map(Opts) ->
default_room_options(Host) ->
gen_mod:get_module_opt(Host, mod_muc, default_room_options).
--spec hibernation_timeout(gen_mod:opts() | global | binary()) -> 'infinity' | non_neg_integer().
+-spec hibernation_timeout(gen_mod:opts() | global | binary()) -> 'infinity' | pos_integer().
hibernation_timeout(Opts) when is_map(Opts) ->
gen_mod:get_opt(hibernation_timeout, Opts);
hibernation_timeout(Host) ->