mirror of
https://github.com/pragma-/pbot.git
synced 2024-12-24 03:33:06 +01:00
Whoops, attempted to modify current $action in loop
This commit is contained in:
parent
06eb50736d
commit
121de07ae2
@ -431,7 +431,8 @@ sub expand_action_arguments {
|
||||
$input =~ s/'/\\'/g if defined $input;
|
||||
my @args = shellwords($input);
|
||||
|
||||
while ($action =~ m/\$arg\[([^]]+)]/g) {
|
||||
my $const_action = $action;
|
||||
while ($const_action =~ m/\$arg\[([^]]+)]/g) {
|
||||
my $arg = $1;
|
||||
|
||||
if ($arg eq '*') {
|
||||
|
Loading…
Reference in New Issue
Block a user