new fix for #157
This commit is contained in:
@@ -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