mirror of
https://github.com/pragma-/pbot.git
synced 2025-02-18 14:30:40 +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");
|
$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 {
|
} else {
|
||||||
$self->{pbot}->{logger}->log("BanTracker: Unknown mode '$mode'\n");
|
$self->{pbot}->{logger}->log("BanTracker: Unknown mode '$mode'\n");
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user