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:
kroimon
2008-09-30 15:15:59 +00:00
parent 18ce52e32d
commit 5237a24747
34 changed files with 401 additions and 411 deletions
+1 -1
View File
@@ -23,7 +23,7 @@ public:
{
for (MCString::iterator it = BeginNV(); it != EndNV(); it++)
{
if (sChannel.CaseCmp(it->first) == 0)
if (sChannel.Equals(it->first))
{
CChan* pChan = m_pUser->FindChan(sChannel);