From b0ed3d4bd5c60abbd8c1f141df10f44fd8dd1110 Mon Sep 17 00:00:00 2001 From: Andy Walker Date: Thu, 30 Jul 2015 13:03:55 -0400 Subject: [PATCH] should return in case of CTCP error --- irc_callback.go | 1 + 1 file changed, 1 insertion(+) 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" {