From 7bcbea210800e67045a9a58448a2e695d073246b Mon Sep 17 00:00:00 2001 From: Evgeniy Khramtsov Date: Thu, 30 Mar 2017 14:17:13 +0300 Subject: Deprecate jlib.erl in favor of aux.erl Since the main goal of jlib.erl is lost, all auxiliary functions are now moved to aux.erl, and the whole jlib.erl is now deprecated. --- src/ejabberd_c2s.erl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/ejabberd_c2s.erl') diff --git a/src/ejabberd_c2s.erl b/src/ejabberd_c2s.erl index 13e685022..bd01cfb4c 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(jlib:ip_to_list(IP))]), + ejabberd_config:may_hide_data(aux: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(jlib:ip_to_list(IP)), Reason]), + ejabberd_config:may_hide_data(aux:ip_to_list(IP)), Reason]), ejabberd_hooks:run_fold(c2s_auth_result, LServer, State, [false, User]). handle_unbinded_packet(Pkt, #{lserver := LServer} = State) -> -- cgit v1.2.3