more logging

This commit is contained in:
blackbeard420 2025-02-27 19:04:59 -05:00
parent 5574cb8ef7
commit 2eacef7e7c

3
irc.go
View File

@ -282,6 +282,7 @@ func (c *Connection) parseMessage(line string) {
if c.JoinCallbackEx != nil {
c.JoinCallbackEx(c, from, target)
}
log.Printf("quit > %s > %s > %s", from, target, msg)
case "quit":
c.removeNickAllChans(GetNick(from))
if c.QuitCallback != nil {
@ -309,7 +310,7 @@ func (c *Connection) parseMessage(line string) {
c.NickCallback(from, msg)
}
default:
log.Printf("unhandled command: %s %s %s", cmd, target, msg)
//log.Printf("unhandled command: %s %s %s", cmd, target, msg)
}
}
}