From 415754dd1617ff7d304f2787622b271d7808795c Mon Sep 17 00:00:00 2001 From: prozacx Date: Wed, 3 Mar 2010 01:47:26 +0000 Subject: [PATCH] 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 --- Template.cpp | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/Template.cpp b/Template.cpp index ab02fb23..8ed8b52e 100644 --- a/Template.cpp +++ b/Template.cpp @@ -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();