diff options
author | Evgeniy Khramtsov <ekhramtsov@process-one.net> | 2017-11-14 09:02:43 +0300 |
---|---|---|
committer | Evgeniy Khramtsov <ekhramtsov@process-one.net> | 2017-11-14 09:02:43 +0300 |
commit | f953621ed2dcef77941ab17c72bb86a0371d671b (patch) | |
tree | 22fb82132dc4593d3cdf34b12da811dbd1f400ff /src/mod_irc_connection.erl | |
parent | Implement 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.erl | 2 |
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}; |