Fixed a bug introduced in r1740 where template files weren't being found

git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1741 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
prozacx
2010-02-07 04:53:06 +00:00
parent fd88aca4bd
commit 8fad25705f
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -175,7 +175,7 @@ void CTemplate::ClearPaths() {
bool CTemplate::SetFile(const CString& sFileName) {
m_sFileName = ExpandFile(sFileName, false);
//PrependPath(sFileName + "/..");
PrependPath(sFileName + "/..");
if (sFileName.empty()) {
DEBUG("CTemplate::SetFile() - Filename is empty");