should return in case of CTCP error
This commit is contained in:
parent
03b22b08f4
commit
b0ed3d4bd5
@ -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" {
|
||||
|
Loading…
Reference in New Issue
Block a user