Moved CUtils::wildcmp() into CString class

git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@251 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
prozacx
2005-05-08 07:51:46 +00:00
parent 1c5981ee6d
commit 0823b27f37
7 changed files with 10 additions and 50 deletions
+3 -3
View File
@@ -147,7 +147,7 @@ void CUserSock::ReadLine(const CString& sData) {
return;
}
if (CUtils::wildcmp("DCC * (*)", sMsg.c_str())) {
if (sMsg.WildCmp("DCC * (*)")) {
sMsg = "DCC " + sLine.Token(3) + " (" + ((m_pIRCSock) ? m_pIRCSock->GetLocalIP() : GetLocalIP()) + ")";
}
@@ -158,7 +158,7 @@ void CUserSock::ReadLine(const CString& sData) {
}
#ifdef _MODULES
if (CUtils::wildcmp("\001*\001", sMsg.c_str())) {
if (sMsg.WildCmp("\001*\001")) {
CString sCTCP = sMsg;
sCTCP.LeftChomp();
sCTCP.RightChomp();
@@ -185,7 +185,7 @@ void CUserSock::ReadLine(const CString& sData) {
sMsg.LeftChomp();
}
if (CUtils::wildcmp("\001*\001", sMsg.c_str())) {
if (sMsg.WildCmp("\001*\001")) {
CString sCTCP = sMsg;
sCTCP.LeftChomp();
sCTCP.RightChomp();