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