[core] Prevent logging every PING message

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2021-11-09 17:48:41 +01:00
parent 7dd2640f3b
commit 9eb6876305
Signed by: luzifer
GPG key ID: 0066F03ED215AD7D

3
irc.go
View file

@ -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)