From 9eb6876305b70b29a84bc299dd1ebde3c9d81619 Mon Sep 17 00:00:00 2001 From: Knut Ahlers Date: Tue, 9 Nov 2021 17:48:41 +0100 Subject: [PATCH] [core] Prevent logging every PING message Signed-off-by: Knut Ahlers --- irc.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/irc.go b/irc.go index 33d790b..887d929 100644 --- a/irc.go +++ b/irc.go @@ -132,6 +132,9 @@ func (i ircHandler) Handle(c *irc.Client, m *irc.Message) { // User leaves the channel, might be triggered multiple times i.handlePart(m) + case "PING": + // Handled by the library, just here to prevent trace-logging every ping + case "PRIVMSG": i.handleTwitchPrivmsg(m)