]> granicus.if.org Git - ejabberd/commitdiff
Don't log warning on successful ping reply
authorEvgeniy Khramtsov <ekhramtsov@process-one.net>
Tue, 4 Apr 2017 14:14:24 +0000 (17:14 +0300)
committerEvgeniy Khramtsov <ekhramtsov@process-one.net>
Tue, 4 Apr 2017 14:14:24 +0000 (17:14 +0300)
src/mod_ping.erl

index 1164bf44a23947f50c23d38e3302f51157f1897a..2e39e8834d13b6fa3278ea9efd4caa465b350644 100644 (file)
@@ -152,6 +152,8 @@ handle_cast({iq_pong, JID, timeout}, State) ->
       _ -> ok
     end,
     {noreply, State#state{timers = Timers}};
+handle_cast({iq_pong, _JID, _}, State) ->
+    {noreply, State};
 handle_cast(Msg, State) ->
     ?WARNING_MSG("unexpected cast: ~p", [Msg]),
     {noreply, State}.