summaryrefslogtreecommitdiff
path: root/src/extauth.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/extauth.erl')
-rw-r--r--src/extauth.erl3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/extauth.erl b/src/extauth.erl
index 50330b47..6063d367 100644
--- a/src/extauth.erl
+++ b/src/extauth.erl
@@ -102,8 +102,7 @@ call_port(Server, Msg) ->
receive {eauth, Result} -> Result end.
random_instance(MaxNum) ->
- random:seed(p1_time_compat:timestamp()),
- random:uniform(MaxNum) - 1.
+ randoms:uniform(MaxNum) - 1.
get_instances(Server) ->
ejabberd_config:get_option(