implements #157 - chatbot whitelist

This commit is contained in:
doitux
2012-12-09 19:44:20 +01:00
parent a3fe2c330d
commit a6420642f3
4 changed files with 37 additions and 4 deletions
+6 -1
View File
@@ -43,7 +43,7 @@ using namespace std;
CleanerConfig::CleanerConfig()
{
// !!!! Revisionsnummer der Configdefaults !!!!!
configRev = 8;
configRev = 9;
// Pfad und Dateinamen setzen
#ifdef _WIN32
@@ -158,6 +158,11 @@ CleanerConfig::CleanerConfig()
badWordsList.push_back("whore");
configList.push_back(ConfigInfo("BadWordsList", CONFIG_TYPE_STRING_LIST, "BadWords", badWordsList));
list<string> badWordsExceptionList;
badWordsExceptionList.push_back("idiots end");
configList.push_back(ConfigInfo("BadWordsException", CONFIG_TYPE_STRING_LIST, "BadWordsException", badWordsExceptionList));
list<string> urlStringsList;
urlStringsList.push_back("http://");
urlStringsList.push_back(".com");