Changed references to strcasecmp over to CString::CaseCmp

git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@253 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
prozacx
2005-05-08 10:00:20 +00:00
parent fbc9098fdb
commit 428baad29e
8 changed files with 136 additions and 136 deletions
+1 -1
View File
@@ -46,7 +46,7 @@ unsigned int CNick::GetCommonChans(vector<CChan*>& vRetChans, CUser* pUser) cons
const map<CString,CNick*>& msNicks = pChan->GetNicks();
for (map<CString,CNick*>::const_iterator it = msNicks.begin(); it != msNicks.end(); it++) {
if (strcasecmp(it->first.c_str(), m_sNick.c_str()) == 0) {
if (it->first.CaseCmp(m_sNick) == 0) {
vRetChans.push_back(pChan);
continue;
}