mirror of
https://github.com/znc/znc.git
synced 2026-07-05 09:21:31 +02:00
Properly fixed the last commit. Stupid CTemplate. Stupid me.
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1954 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
+1
-1
@@ -442,7 +442,7 @@ bool CTemplate::Print(const CString& sFileName, ostream& oOut) {
|
||||
bool bSort = (sArgs.Token(1).Left(4).Equals("SORT"));
|
||||
vector<CTemplate*>* pvLoop = GetLoop(sLoopName);
|
||||
|
||||
if (bSort && pvLoop->size() > 1) {
|
||||
if (bSort && pvLoop != NULL && pvLoop->size() > 1) {
|
||||
CString sKey;
|
||||
|
||||
if(sArgs.Token(1).TrimPrefix_n("SORT").Left(4).Equals("ASC=")) {
|
||||
|
||||
Reference in New Issue
Block a user