chatcleaner remove debug output
This commit is contained in:
@@ -17,7 +17,7 @@ bool CapsFloodCheck::run(QString msg)
|
|||||||
else return false;
|
else return false;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
qDebug() << "The current Caps Flood RegExp is invalid" << endl;
|
// qDebug() << "The current Caps Flood RegExp is invalid" << endl;
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ bool LetterRepeatingCheck::run(QString msg)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
qDebug() << "The current Letter Repeating RegExp is invalid" << endl;
|
// qDebug() << "The current Letter Repeating RegExp is invalid" << endl;
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -205,7 +205,7 @@ void MessageFilter::cleanKickCounterList()
|
|||||||
while (it.hasNext()) {
|
while (it.hasNext()) {
|
||||||
it.next();
|
it.next();
|
||||||
if(timer.elapsed().total_seconds()-it.value().lastKickTimestamp > config->readConfigInt("SecondsToForgetAboutKick")) {
|
if(timer.elapsed().total_seconds()-it.value().lastKickTimestamp > config->readConfigInt("SecondsToForgetAboutKick")) {
|
||||||
qDebug() << it.key() << "removed from kick counter list" << endl;
|
// qDebug() << it.key() << "removed from kick counter list" << endl;
|
||||||
myClientKickCounterList.remove(it.key());
|
myClientKickCounterList.remove(it.key());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -88,6 +88,6 @@ void TextFloodCheck::cleanMsgTimesList() {
|
|||||||
|
|
||||||
void TextFloodCheck::removeNickFromList(unsigned playerId) {
|
void TextFloodCheck::removeNickFromList(unsigned playerId) {
|
||||||
|
|
||||||
qDebug() << "id " << playerId << "removed from textfloodcheck list" << endl;
|
// qDebug() << "id " << playerId << "removed from textfloodcheck list" << endl;
|
||||||
msgTimesList.remove(playerId);
|
msgTimesList.remove(playerId);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user