mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-22 16:20:52 +01:00
extauth_cache can have value 0
This commit is contained in:
parent
fafec77e56
commit
70f00a1b1f
@ -173,7 +173,7 @@ get_cache_option(Host) ->
|
||||
case ejabberd_config:get_option(
|
||||
{extauth_cache, Host},
|
||||
fun(false) -> undefined;
|
||||
(I) when is_integer(I), I > 0 -> I
|
||||
(I) when is_integer(I), I >= 0 -> I
|
||||
end) of
|
||||
undefined -> false;
|
||||
CacheTime -> {true, CacheTime}
|
||||
|
Loading…
Reference in New Issue
Block a user