mirror of
https://github.com/pragma-/pbot.git
synced 2024-12-25 04:02:37 +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;
|
$input =~ s/'/\\'/g if defined $input;
|
||||||
my @args = shellwords($input);
|
my @args = shellwords($input);
|
||||||
|
|
||||||
while ($action =~ m/\$arg\[([^]]+)]/g) {
|
my $const_action = $action;
|
||||||
|
while ($const_action =~ m/\$arg\[([^]]+)]/g) {
|
||||||
my $arg = $1;
|
my $arg = $1;
|
||||||
|
|
||||||
if ($arg eq '*') {
|
if ($arg eq '*') {
|
||||||
|
Loading…
Reference in New Issue
Block a user