mirror of
https://github.com/Luzifer/twitch-bot.git
synced 2024-12-30 00:21:16 +00:00
[core] Prevent logging every PING message
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
7dd2640f3b
commit
9eb6876305
1 changed files with 3 additions and 0 deletions
3
irc.go
3
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)
|
||||
|
||||
|
|
Loading…
Reference in a new issue