From: Evgeny Khramtsov Date: Wed, 4 Sep 2019 07:31:09 +0000 (+0300) Subject: Fix the regression introduced in dd57950 X-Git-Tag: 19.09~42 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9a8245b8e6a17b306d07cd96f2483044dd4981d2;p=ejabberd Fix the regression introduced in dd57950 Fixes #3010 --- diff --git a/src/mod_ping.erl b/src/mod_ping.erl index d4c226e56..8e6827247 100644 --- a/src/mod_ping.erl +++ b/src/mod_ping.erl @@ -132,8 +132,6 @@ handle_cast(Msg, State) -> ?WARNING_MSG("Unexpected cast: ~p", [Msg]), {noreply, State}. -handle_info({iq_reply, #iq{type = error}, JID}, State) -> - handle_info({iq_reply, timeout, JID}, State); handle_info({iq_reply, #iq{}, _JID}, State) -> {noreply, State}; handle_info({iq_reply, timeout, JID}, State) ->