mirror of
https://github.com/pragma-/pbot.git
synced 2025-02-02 15:34:05 +01:00
ActionTrigger: Properly, this time
This commit is contained in:
parent
21c6544656
commit
435d76e9cb
@ -225,7 +225,7 @@ sub actiontrigger {
|
||||
return "Trigger already exists.";
|
||||
}
|
||||
|
||||
if ($level !~ m/\d+/) {
|
||||
if ($level !~ m/^\d+$/) {
|
||||
return "$nick: Missing level argument?\n";
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user