mirror of
https://github.com/znc/znc.git
synced 2026-07-03 08:21:57 +02:00
Removed some debug comments and a debug print
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1802 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
@@ -668,20 +668,8 @@ bool CTemplate::ValidExpr(const CString& sExpression) {
|
||||
}
|
||||
|
||||
if (sExpr.find("!=") != CString::npos) {
|
||||
// GOOD:
|
||||
// >>>>>>>>>>>>>>>>>>> [PageName] [index] -> [PageName != "index"]
|
||||
// >>>>>>>>>>>>>>>>>>> [PageName] [help] -> [PageName != "help"]
|
||||
//
|
||||
// BAD:
|
||||
// >>>>>>>>>>>>>>>>>>> [PageName] ["index"] -> [PageName != "index"]
|
||||
// >>>>>>>>>>>>>>>>>>> [PageName] ["help"] -> [PageName != "help"]
|
||||
//
|
||||
|
||||
//CString CTemplate::Token(const CString& sStr, unsigned int uPos, bool bRest, const CString& sSep, bool bAllowEmpty,
|
||||
// const CString& sLeft, const CString& sRight, bool bTrimQuotes) {
|
||||
sName = sExpr.Token(0, false, "!=").Trim_n();
|
||||
sValue = sExpr.Token(1, true, "!=", false, "\"", "\"", true).Trim_n();
|
||||
DEBUG(">>>>>>>>>>>>>>>>>>> [" + sName + "] [" + sValue + "] -> [" + sExpr + "]");
|
||||
bNegate = !bNegate;
|
||||
} else if (sExpr.find("==") != CString::npos) {
|
||||
sName = sExpr.Token(0, false, "==").Trim_n();
|
||||
|
||||
Reference in New Issue
Block a user