mirror of
https://github.com/znc/znc.git
synced 2026-07-01 23:41:36 +02: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).
(cherry picked from commit f215ec602f)
This commit is contained in:
committed by
Alexey Sokolov
parent
0e85418932
commit
1ace1cd1ab
+1
-1
@@ -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