reset warnlevel for muted players

This commit is contained in:
doitux
2012-01-08 22:17:47 +00:00
parent 1fc25fc96b
commit 7c189330ed
+3
View File
@@ -81,6 +81,9 @@ QStringList MessageFilter::check(unsigned gameId, unsigned playerId, QString nic
if(gameId) {
//check for ingame to do not kick but mute
action = MUTE;
//remove playerId from all lists and as LAST from myClientWarnLevelList
myTextFloodCheck->removeNickFromList(i.key());
myClientWarnLevelList.remove(i.key());
} else {
// Kick Command
action = KICK;