aboutsummaryrefslogtreecommitdiff
path: root/src/mod_proxy65_sql.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/mod_proxy65_sql.erl')
-rw-r--r--src/mod_proxy65_sql.erl6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mod_proxy65_sql.erl b/src/mod_proxy65_sql.erl
index ae6cea208..e11c5e6ac 100644
--- a/src/mod_proxy65_sql.erl
+++ b/src/mod_proxy65_sql.erl
@@ -50,7 +50,7 @@ init() ->
end.
register_stream(SID, Pid) ->
- PidS = aux:encode_pid(Pid),
+ PidS = misc:encode_pid(Pid),
NodeS = erlang:atom_to_binary(node(Pid), latin1),
F = fun() ->
case ejabberd_sql:sql_query_t(
@@ -94,8 +94,8 @@ activate_stream(SID, IJID, MaxConnections, _Node) ->
"sid=%(SID)s")) of
{selected, [{TPidS, TNodeS, IPidS, INodeS, <<"">>}]}
when IPidS /= <<"">> ->
- try {aux:decode_pid(TPidS, TNodeS),
- aux:decode_pid(IPidS, INodeS)} of
+ try {misc:decode_pid(TPidS, TNodeS),
+ misc:decode_pid(IPidS, INodeS)} of
{TPid, IPid} ->
case ejabberd_sql:sql_query_t(
?SQL("update proxy65 set jid_i=%(IJID)s "