Block bad game names on server.

This commit is contained in:
lotodore
2010-09-05 00:15:25 +00:00
parent 03be7c2f16
commit 7a1a10abf5
8 changed files with 60 additions and 13 deletions
+2 -1
View File
@@ -50,7 +50,7 @@ ConfigFile::ConfigFile(char *argv0, bool readonly) : noWriteAccess(readonly)
myConfigState = OK;
// !!!! Revisionsnummer der Configdefaults !!!!!
configRev = 85;
configRev = 86;
//standard defaults
logOnOffDefault = "1";
@@ -280,6 +280,7 @@ ConfigFile::ConfigFile(char *argv0, bool readonly) : noWriteAccess(readonly)
configList.push_back(ConfigInfo("DBServerPassword", CONFIG_TYPE_STRING, ""));
configList.push_back(ConfigInfo("DBServerDatabaseName", CONFIG_TYPE_STRING, "pokerth"));
configList.push_back(ConfigInfo("DBServerEncryptionKey", CONFIG_TYPE_STRING, ""));
configList.push_back(ConfigInfo("GameNameBadWordList", CONFIG_TYPE_STRING_LIST, "regex"));
//fill tempList firstTime
configBufferList = configList;