diff options
Diffstat (limited to 'src/extauth.erl')
-rw-r--r-- | src/extauth.erl | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/extauth.erl b/src/extauth.erl index 6ec7e776..c6f25102 100644 --- a/src/extauth.erl +++ b/src/extauth.erl @@ -105,11 +105,7 @@ random_instance(MaxNum) -> randoms:uniform(MaxNum) - 1. get_instances(Server) -> - ejabberd_config:get_option( - {extauth_instances, Server}, - fun(V) when is_integer(V), V > 0 -> - V - end, 1). + ejabberd_config:get_option({extauth_instances, Server}, 1). loop(Port, Timeout, ProcessName, ExtPrg) -> receive |