mirror of
https://github.com/pragma-/pbot.git
synced 2024-12-03 17:39:29 +01:00
Modules: strip quotes from arguments
This commit is contained in:
parent
b71e32a9ce
commit
ad5e8bc545
@ -83,7 +83,7 @@ sub launch_module {
|
|||||||
$args = encode('UTF-8', $args);
|
$args = encode('UTF-8', $args);
|
||||||
}
|
}
|
||||||
|
|
||||||
my @cmdline = ("./$module", $self->{pbot}->{interpreter}->split_line($args));
|
my @cmdline = ("./$module", $self->{pbot}->{interpreter}->split_line($args, strip_quotes => 1));
|
||||||
|
|
||||||
my $timeout = $self->{pbot}->{registry}->get_value('general', 'module_timeout') // 30;
|
my $timeout = $self->{pbot}->{registry}->get_value('general', 'module_timeout') // 30;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user