3
0
mirror of https://github.com/pragma-/pbot.git synced 2024-10-01 17:16:39 +02:00

Factoids: disallow whitespace around ":" in modifiers

This commit is contained in:
Pragmatic Software 2020-06-19 12:07:01 -07:00
parent 5883b7e2b5
commit bb6d9a5919

View File

@ -456,7 +456,7 @@ sub parse_expansion_modifiers {
my %settings;
while ($$modifier =~ s/^\s*:\s*//) {
while ($$modifier =~ s/^://) {
if ($$modifier =~ s/^join\s*//) {
my ($params, $rest) = $self->{pbot}->{interpreter}->extract_bracketed($$modifier, '(', ')', '', 1);
$$modifier = $rest;