3
0
mirror of https://github.com/pragma-/pbot.git synced 2024-10-04 18:38:47 +02:00

ActionTrigger: Properly, this time

This commit is contained in:
Pragmatic Software 2018-01-05 18:06:26 -08:00
parent 21c6544656
commit 435d76e9cb

View File

@ -225,7 +225,7 @@ sub actiontrigger {
return "Trigger already exists.";
}
if ($level !~ m/\d+/) {
if ($level !~ m/^\d+$/) {
return "$nick: Missing level argument?\n";
}