new fix for #157
This commit is contained in:
1 parent
53c17c0439
commit
87b9bee1c0
1 file changed
+1
-1
@@ -20,7 +20,7 @@ bool BadWordCheck::run(QString msg)
|
|||||||
//exception check
|
//exception check
|
||||||
QStringListIterator it2(badWordsException);
|
QStringListIterator it2(badWordsException);
|
||||||
while (it2.hasNext()) {
|
while (it2.hasNext()) {
|
||||||
QString bwe=it2.hasNext();
|
QString bwe=it2.next();
|
||||||
if(bwe.contains(bw) && msg.contains(bwe)) {
|
if(bwe.contains(bw) && msg.contains(bwe)) {
|
||||||
badMessage=false;
|
badMessage=false;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user