diff options
author | Christophe Romain <christophe.romain@process-one.net> | 2017-04-11 12:13:58 +0200 |
---|---|---|
committer | Christophe Romain <christophe.romain@process-one.net> | 2017-04-11 12:13:58 +0200 |
commit | b1acd1183f1ce176a4703528d7d25b9dd3ee89f4 (patch) | |
tree | 9339705c26123538d94ad1fc62011b02517e6e98 /src/mod_register.erl | |
parent | Use p1_utils 1.0.8 (diff) |
Rename aux.erl as misc.erl
Thanks Microsoft Windows to not support some filenames
Diffstat (limited to 'src/mod_register.erl')
-rw-r--r-- | src/mod_register.erl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mod_register.erl b/src/mod_register.erl index f0b78aba..d14d4935 100644 --- a/src/mod_register.erl +++ b/src/mod_register.erl @@ -289,7 +289,7 @@ try_set_password(User, Server, Password, #iq{lang = Lang, meta = M} = IQ) -> ?INFO_MSG("~s has changed password from ~s", [jid:encode({User, Server, <<"">>}), ejabberd_config:may_hide_data( - aux:ip_to_list(maps:get(ip, M, {0,0,0,0})))]), + misc:ip_to_list(maps:get(ip, M, {0,0,0,0})))]), xmpp:make_iq_result(IQ); {error, empty_password} -> Txt = <<"Empty password">>, @@ -522,7 +522,7 @@ remove_timeout(Source) -> end. ip_to_string(Source) when is_tuple(Source) -> - aux:ip_to_list(Source); + misc:ip_to_list(Source); ip_to_string(undefined) -> <<"undefined">>; ip_to_string(_) -> <<"unknown">>. @@ -575,7 +575,7 @@ transform_ip_access(Opts) -> "use access rules instead.", []), ACLs = lists:flatmap( fun({Action, S}) -> - ACLName = aux:binary_to_atom( + ACLName = misc:binary_to_atom( iolist_to_binary( ["ip_", S])), [{Action, ACLName}, |