diff --git a/irc_callback.go b/irc_callback.go index 7da4226..4b71b3b 100644 --- a/irc_callback.go +++ b/irc_callback.go @@ -84,6 +84,7 @@ func (irc *Connection) RunCallbacks(event *Event) { msg = msg[1:i] } else { irc.Log.Printf("Invalid CTCP Message: %s\n", strconv.Quote(msg)) + return } if msg == "VERSION" {