25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-24 16:23:40 +01:00

Don't log warning on successful ping reply

This commit is contained in:
Evgeniy Khramtsov 2017-04-04 17:14:24 +03:00
parent 3a0b4ad8da
commit f5b0cd1793

View 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}.