mirror of
https://github.com/znc/znc.git
synced 2026-07-07 02:11:20 +02:00
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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user