diff options
Diffstat (limited to 'src/mod_muc_opt.erl')
-rw-r--r-- | src/mod_muc_opt.erl | 2 |
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) -> |