3
0
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:
Pragmatic Software 2018-01-05 18:16:43 -08:00
parent 8c92ace849
commit d772e7a784

View File

@ -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 {