diff --git a/src/mod_ping.erl b/src/mod_ping.erl index 6703259acd..31a1bee899 100644 --- a/src/mod_ping.erl +++ b/src/mod_ping.erl @@ -140,9 +140,7 @@ user_send_iq(Acc, #{c2s_data := StateData}, #{host_type := HostType}) -> _ -> {ok, Acc} end; - {_, {error, not_found}} -> - {ok, Acc}; - {_, _} -> + _ -> {ok, Acc} end.