Removed bad version of WildCmp() and inserted the correct version of wildcmp()

git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@40 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
prozacx
2005-03-10 06:34:19 +00:00
parent 94a61f69ee
commit 3315c349a2
6 changed files with 38 additions and 47 deletions
+3 -3
View File
@@ -131,7 +131,7 @@ void CUserSock::ReadLine(const string& sData) {
return;
}
if (CUtils::WildCmp("DCC * (*)", sMsg.c_str())) {
if (CUtils::wildcmp("DCC * (*)", sMsg.c_str())) {
sMsg = "DCC " + CUtils::Token(sLine, 3) + " (" + ((m_pIRCSock) ? m_pIRCSock->GetLocalIP() : GetLocalIP()) + ")";
}
@@ -142,7 +142,7 @@ void CUserSock::ReadLine(const string& sData) {
}
#ifdef _MODULES
if (CUtils::WildCmp("\001*\001", sMsg.c_str())) {
if (CUtils::wildcmp("\001*\001", sMsg.c_str())) {
string sCTCP = sMsg;
CUtils::LeftChomp(sCTCP);
CUtils::RightChomp(sCTCP);
@@ -169,7 +169,7 @@ void CUserSock::ReadLine(const string& sData) {
CUtils::LeftChomp(sMsg);
}
if (CUtils::WildCmp("\001*\001", sMsg.c_str())) {
if (CUtils::wildcmp("\001*\001", sMsg.c_str())) {
string sCTCP = sMsg;
CUtils::LeftChomp(sCTCP);
CUtils::RightChomp(sCTCP);