From f953621ed2dcef77941ab17c72bb86a0371d671b Mon Sep 17 00:00:00 2001 From: Evgeniy Khramtsov Date: Tue, 14 Nov 2017 09:02:43 +0300 Subject: Use xmpp:io_format_error/1 wherever possible --- src/mod_irc_connection.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mod_irc_connection.erl') 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}; -- cgit v1.2.3