]> granicus.if.org Git - ejabberd/commitdiff
Fix the regression introduced in dd57950
authorEvgeny Khramtsov <ekhramtsov@process-one.net>
Wed, 4 Sep 2019 07:31:09 +0000 (10:31 +0300)
committerEvgeny Khramtsov <ekhramtsov@process-one.net>
Wed, 4 Sep 2019 07:31:09 +0000 (10:31 +0300)
Fixes #3010

src/mod_ping.erl

index d4c226e56a0fca3855b690392aeea140e1e20631..8e6827247f2b5d4df7cf1a7a9fcc8234ef2ce2f2 100644 (file)
@@ -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) ->