aboutsummaryrefslogtreecommitdiff
path: root/src/mod_proxy65_service.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/mod_proxy65_service.erl
parentUse p1_utils 1.0.8 (diff)
Rename aux.erl as misc.erl17.04
Thanks Microsoft Windows to not support some filenames
Diffstat (limited to 'src/mod_proxy65_service.erl')
-rw-r--r--src/mod_proxy65_service.erl6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mod_proxy65_service.erl b/src/mod_proxy65_service.erl
index 47de522e6..f2a70cd09 100644
--- a/src/mod_proxy65_service.erl
+++ b/src/mod_proxy65_service.erl
@@ -253,9 +253,9 @@ process_bytestreams(#iq{type = set, lang = Lang, from = InitiatorJID, to = To,
transform_module_options(Opts) ->
lists:map(
fun({ip, IP}) when is_tuple(IP) ->
- {ip, aux:ip_to_list(IP)};
+ {ip, misc:ip_to_list(IP)};
({hostname, IP}) when is_tuple(IP) ->
- {hostname, aux:ip_to_list(IP)};
+ {hostname, misc:ip_to_list(IP)};
(Opt) ->
Opt
end, Opts).
@@ -265,7 +265,7 @@ get_streamhost(Host, ServerHost) ->
{Port, IP} = get_port_ip(ServerHost),
HostName = gen_mod:get_module_opt(ServerHost, mod_proxy65, hostname,
fun iolist_to_binary/1,
- aux:ip_to_list(IP)),
+ misc:ip_to_list(IP)),
Resource = ejabberd_cluster:node_id(),
#streamhost{jid = jid:make(<<"">>, Host, Resource),
host = HostName,