mirror of
https://github.com/pragma-/pbot.git
synced 2024-11-26 22:09:26 +01:00
ActionTrigger: Remove negative level check since level can no longer be negative
This commit is contained in:
parent
8c92ace849
commit
d772e7a784
@ -236,10 +236,6 @@ sub actiontrigger {
|
||||
}
|
||||
}
|
||||
|
||||
if ($level < 0) {
|
||||
return "Please be serious.";
|
||||
}
|
||||
|
||||
if ($self->add_trigger($channel, $trigger, $action, "$nick!$user\@$host", $level)) {
|
||||
$result = "Trigger added.";
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user