diff options
author | bodqhrohro <bodqhrohro@gmail.com> | 2019-11-14 23:11:38 +0300 |
---|---|---|
committer | bodqhrohro <bodqhrohro@gmail.com> | 2019-11-14 23:11:38 +0300 |
commit | fc5f8d7a65d088947d4357b7c1787f0d746fca4a (patch) | |
tree | 3d08462454c11ab78184b98e345dabb2753dfbb0 /xmpp/handlers.go | |
parent | 736abcb5bc3a7e2c0f1f1dfd3052cb6153b60d02 (diff) |
Fix logging of ignored packets
Diffstat (limited to 'xmpp/handlers.go')
-rw-r--r-- | xmpp/handlers.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmpp/handlers.go b/xmpp/handlers.go index c19a4ef..3709443 100644 --- a/xmpp/handlers.go +++ b/xmpp/handlers.go @@ -9,7 +9,7 @@ import ( ) func logPacketType(p stanza.Packet) { - log.Warn("Ignoring packet: %T\n", p) + log.Warnf("Ignoring packet: %T\n", p) } // HandleIq processes an incoming XMPP iq |