3
0
mirror of https://github.com/pragma-/pbot.git synced 2024-11-22 20:09:43 +01:00

Modules: strip quotes from arguments

This commit is contained in:
Pragmatic Software 2021-07-24 17:29:51 -07:00
parent b71e32a9ce
commit ad5e8bc545

View File

@ -83,7 +83,7 @@ sub launch_module {
$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;