hopefully bugfix for chatbot regression (#164)

This commit is contained in:
doitux
2012-12-25 22:31:49 +01:00
parent d9d56300bb
commit 341c564d49
3 changed files with 7 additions and 4 deletions
-2
View File
@@ -46,7 +46,6 @@ bool BadWordCheck::run(QString msg)
QString bw=it.next();
if(msg.contains(bw)) {
badMessage=true;
//exception check
QStringListIterator it2(badWordsException);
while (it2.hasNext()) {
@@ -60,5 +59,4 @@ bool BadWordCheck::run(QString msg)
if(badMessage) return true;
else return false;
}