mirror of
https://github.com/znc/znc.git
synced 2026-05-08 06:14:40 +02:00
Fail if unable to open an included template
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@646 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
+3
-1
@@ -166,7 +166,9 @@ bool CTemplate::Print(const CString& sFileName, ostream& oOut) {
|
||||
|
||||
if (!uSkip) {
|
||||
if (sAction.CaseCmp("INC") == 0) {
|
||||
Print(File.GetDir() + sArgs, oOut);
|
||||
if (!Print(File.GetDir() + sArgs, oOut)) {
|
||||
return false;
|
||||
}
|
||||
} else if (sAction.CaseCmp("ADDROW") == 0) {
|
||||
CString sLoopName = sArgs.Token(0);
|
||||
MCString msRow;
|
||||
|
||||
Reference in New Issue
Block a user