mirror of
https://github.com/znc/znc.git
synced 2026-08-01 06:23:32 +02:00
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:
+3
-3
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user