mirror of
https://github.com/znc/znc.git
synced 2026-08-06 17:03:14 +02:00
Remove the spamminess of --debug a little
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1836 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
+1
-4
@@ -115,13 +115,11 @@ CString CTemplate::ExpandFile(const CString& sFilename, bool bFromInc) {
|
||||
|
||||
if (CFile::Exists(sFilePath)) {
|
||||
if (sRoot.empty() || sFilePath.Left(sRoot.length()) == sRoot) {
|
||||
DEBUG("\t\tFound [" + sFilePath + "]\n");
|
||||
DEBUG(" Found [" + sFilePath + "]");
|
||||
return sFilePath;
|
||||
} else {
|
||||
DEBUG("\t\tOutside of root [" + sFilePath + "] !~ [" + sRoot + "]");
|
||||
}
|
||||
} else {
|
||||
DEBUG("\t\tNo such file [" + sFilePath + "]");
|
||||
}
|
||||
}
|
||||
|
||||
@@ -253,7 +251,6 @@ bool CTemplate::PrintString(CString& sRet) {
|
||||
}
|
||||
|
||||
bool CTemplate::Print(ostream& oOut) {
|
||||
DEBUG("== Print(o) m_sFileName = [" + m_sFileName + "]");
|
||||
return Print(m_sFileName, oOut);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user