mirror of
https://github.com/znc/znc.git
synced 2026-03-28 17:42:41 +01:00
Always try to delete an uppercase CTCP response in DelCtcpReply
AddCtcpReply always adds an CTCP response in uppercase, it is only fair we do the same in DelCtcpReply
This commit is contained in:
@@ -1185,7 +1185,7 @@ bool CUser::AddCTCPReply(const CString& sCTCP, const CString& sReply) {
|
||||
}
|
||||
|
||||
bool CUser::DelCTCPReply(const CString& sCTCP) {
|
||||
return m_mssCTCPReplies.erase(sCTCP) > 0;
|
||||
return m_mssCTCPReplies.erase(sCTCP.AsUpper()) > 0;
|
||||
}
|
||||
|
||||
bool CUser::SetStatusPrefix(const CString& s) {
|
||||
|
||||
Reference in New Issue
Block a user