mirror of
https://github.com/znc/znc.git
synced 2026-08-07 09:22:55 +02:00
Print warnings in CTable if you feed it with unknown columns
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1223 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
@@ -8,6 +8,7 @@
|
||||
|
||||
#include "Utils.h"
|
||||
#include "MD5.h"
|
||||
#include "main.h"
|
||||
#include <errno.h>
|
||||
#ifdef HAVE_LIBSSL
|
||||
#include <openssl/ssl.h>
|
||||
@@ -522,6 +523,8 @@ unsigned int CTable::GetColumnIndex(const CString& sName) const {
|
||||
return i;
|
||||
}
|
||||
|
||||
DEBUG_ONLY(cout << "CTable::GetColumnIndex(" + sName + ") failed" << endl);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user