mirror of
https://github.com/znc/znc.git
synced 2026-05-05 13:02:31 +02:00
Use CString::Equals() everywhere.
* (CString::CaseCmp() == 0) became CString::Equals() * (CString::CaseCmp() != 0) became !CString::Equals() * replaced some occurrences of strn?casecmp git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1234 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
@@ -112,7 +112,7 @@ public:
|
||||
const CString sCmd = sLine.Token(0);
|
||||
const CString sArg = sLine.Token(1, true).Trim_n(" ");
|
||||
|
||||
if (sCmd.CaseCmp("AWAY") != 0)
|
||||
if (!sCmd.Equals("AWAY"))
|
||||
return CONTINUE;
|
||||
|
||||
// When a client sets us away, we don't touch that away message
|
||||
|
||||
Reference in New Issue
Block a user