diff --git a/irc.go b/irc.go index e30161b..dca8855 100644 --- a/irc.go +++ b/irc.go @@ -145,6 +145,8 @@ func (c *Connection) parseMessage(line string) { if c.PartCallback != nil { c.PartCallback(from, target, msg) } + default: + log.Printf("unhandled command: %s %s %s", cmd, target, msg) } } }