diff options
author | Evgeniy Khramtsov <ekhramtsov@process-one.net> | 2016-10-18 08:17:21 +0300 |
---|---|---|
committer | Evgeniy Khramtsov <ekhramtsov@process-one.net> | 2016-10-18 08:17:21 +0300 |
commit | 4c5460f0bd640e11948b8cb9d090a4cdfcfa53e7 (patch) | |
tree | a15a463f1d41cd254c430a11374fab56cccdec73 /src/extauth.erl | |
parent | Merge pull request #1338 from marcphilipp/muc_invite_hook (diff) |
Get rid of compile warnings for random/crypto modules on R19
Diffstat (limited to 'src/extauth.erl')
-rw-r--r-- | src/extauth.erl | 3 |
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( |