summaryrefslogtreecommitdiff
path: root/src/ejabberd_c2s.erl
diff options
context:
space:
mode:
authorChristophe Romain <christophe.romain@process-one.net>2017-04-11 12:13:58 +0200
committerChristophe Romain <christophe.romain@process-one.net>2017-04-11 12:13:58 +0200
commitb1acd1183f1ce176a4703528d7d25b9dd3ee89f4 (patch)
tree9339705c26123538d94ad1fc62011b02517e6e98 /src/ejabberd_c2s.erl
parentUse p1_utils 1.0.8 (diff)
Rename aux.erl as misc.erl
Thanks Microsoft Windows to not support some filenames
Diffstat (limited to 'src/ejabberd_c2s.erl')
-rw-r--r--src/ejabberd_c2s.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ejabberd_c2s.erl b/src/ejabberd_c2s.erl
index bd01cfb4..1d594c82 100644
--- a/src/ejabberd_c2s.erl
+++ b/src/ejabberd_c2s.erl
@@ -438,7 +438,7 @@ handle_auth_success(User, Mech, AuthModule,
?INFO_MSG("(~s) Accepted c2s ~s authentication for ~s@~s by ~s backend from ~s",
[SockMod:pp(Socket), Mech, User, LServer,
ejabberd_auth:backend_type(AuthModule),
- ejabberd_config:may_hide_data(aux:ip_to_list(IP))]),
+ ejabberd_config:may_hide_data(misc:ip_to_list(IP))]),
State1 = State#{auth_module => AuthModule},
ejabberd_hooks:run_fold(c2s_auth_result, LServer, State1, [true, User]).
@@ -450,7 +450,7 @@ handle_auth_failure(User, Mech, Reason,
if User /= <<"">> -> ["for ", User, "@", LServer, " "];
true -> ""
end,
- ejabberd_config:may_hide_data(aux:ip_to_list(IP)), Reason]),
+ ejabberd_config:may_hide_data(misc:ip_to_list(IP)), Reason]),
ejabberd_hooks:run_fold(c2s_auth_result, LServer, State, [false, User]).
handle_unbinded_packet(Pkt, #{lserver := LServer} = State) ->