summaryrefslogtreecommitdiff
path: root/src/mod_irc_connection.erl
diff options
context:
space:
mode:
authorEvgeniy Khramtsov <ekhramtsov@process-one.net>2017-11-14 09:02:43 +0300
committerEvgeniy Khramtsov <ekhramtsov@process-one.net>2017-11-14 09:02:43 +0300
commitf953621ed2dcef77941ab17c72bb86a0371d671b (patch)
tree22fb82132dc4593d3cdf34b12da811dbd1f400ff /src/mod_irc_connection.erl
parentImplement parentnodes seek for hometree (#1921) (diff)
Use xmpp:io_format_error/1 wherever possible
Diffstat (limited to 'src/mod_irc_connection.erl')
-rw-r--r--src/mod_irc_connection.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mod_irc_connection.erl b/src/mod_irc_connection.erl
index b7b2f8e1..59336591 100644
--- a/src/mod_irc_connection.erl
+++ b/src/mod_irc_connection.erl
@@ -418,7 +418,7 @@ handle_info({route_chan, Channel, Resource,
end
catch _:{xmpp_codec, Why} ->
Err = xmpp:err_bad_request(
- xmpp:format_error(Why), xmpp:get_lang(Packet)),
+ xmpp:io_format_error(Why), xmpp:get_lang(Packet)),
ejabberd_router:route_error(Packet, Err)
end,
{next_state, StateName, StateData};