mirror of
https://github.com/pragma-/pbot.git
synced 2024-11-26 05:49:27 +01:00
Remove mute from mute-timeouts if -q is detected
This commit is contained in:
parent
e835b8c667
commit
b087324a37
@ -157,6 +157,11 @@ sub track_mode {
|
||||
$self->{pbot}->{chanops}->{unban_timeout}->remove($channel, "$target\$##stop_join_flood");
|
||||
}
|
||||
}
|
||||
elsif($mode eq "-q") {
|
||||
if($self->{pbot}->{chanops}->{unmute_timeout}->find_index($channel, $target)) {
|
||||
$self->{pbot}->{chanops}->{unmute_timeout}->remove($channel, $target);
|
||||
}
|
||||
}
|
||||
} else {
|
||||
$self->{pbot}->{logger}->log("BanTracker: Unknown mode '$mode'\n");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user