mirror of
https://github.com/znc/znc.git
synced 2026-03-28 17:42:41 +01:00
Include the command name in ERR_INVALIDCAPCMD messages
As described in the IRCv3 Client Capability Negotiation document (http://ircv3.org/specification/capability-negotiation-3.1).
This commit is contained in:
@@ -927,6 +927,6 @@ void CClient::HandleCap(const CString& sLine)
|
||||
}
|
||||
RespondCap("ACK :" + sList.TrimSuffix_n(" "));
|
||||
} else {
|
||||
PutClient(":irc.znc.in 410 " + GetNick() + " :Invalid CAP subcommand");
|
||||
PutClient(":irc.znc.in 410 " + GetNick() + " " + sSubCmd + " :Invalid CAP subcommand");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user