should return in case of CTCP error

This commit is contained in:
Andy Walker 2015-07-30 13:03:55 -04:00
parent 03b22b08f4
commit b0ed3d4bd5

View File

@ -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" {