diff --git a/src/ejabberd_sm.erl b/src/ejabberd_sm.erl index 1600a2c92..3515f6365 100644 --- a/src/ejabberd_sm.erl +++ b/src/ejabberd_sm.erl @@ -576,7 +576,7 @@ do_route(Packet) -> T == headline; T == groupchat -> route_message(Packet); #presence{} -> - ?DEBUG("dropping presence to unavalable resource:~n~s", + ?DEBUG("dropping presence to unavailable resource:~n~s", [xmpp:pp(Packet)]); _ -> Lang = xmpp:get_lang(Packet),