From 0e48adb1edff8557d7a540d9e777fba584a430e6 Mon Sep 17 00:00:00 2001 From: Evgeny Khramtsov Date: Tue, 16 Jul 2019 18:06:47 +0300 Subject: Fix opt_type.sh script and re-generate options --- src/mod_muc_opt.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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) -> -- cgit v1.2.3