Merge pull request #472 from galdor/master

Include the command name in ERR_INVALIDCAPCMD messages
This commit is contained in:
Alexey Sokolov
2014-01-23 16:21:56 -08:00

View File

@@ -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");
}
}