fix compiler warnings
This commit is contained in:
@@ -204,7 +204,7 @@ void MessageFilter::cleanKickCounterList()
|
|||||||
QMapIterator<QString, ClientKickInfos> it(myClientKickCounterList);
|
QMapIterator<QString, ClientKickInfos> it(myClientKickCounterList);
|
||||||
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 > static_cast<unsigned>(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());
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user