From ad5e8bc5452c4332df7bc3b65a7574cfa29076cc Mon Sep 17 00:00:00 2001 From: Pragmatic Software Date: Sat, 24 Jul 2021 17:29:51 -0700 Subject: [PATCH] Modules: strip quotes from arguments --- lib/PBot/Core/Modules.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/PBot/Core/Modules.pm b/lib/PBot/Core/Modules.pm index 827d5a55..e4047e27 100644 --- a/lib/PBot/Core/Modules.pm +++ b/lib/PBot/Core/Modules.pm @@ -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;