mirror of
https://github.com/pragma-/pbot.git
synced 2024-11-19 10:29:30 +01:00
Factoids: disallow whitespace around ":" in modifiers
This commit is contained in:
parent
5883b7e2b5
commit
bb6d9a5919
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user