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

Factoids: fix a thing

This commit is contained in:
Pragmatic Software 2020-07-19 16:11:40 -07:00
parent f9b55e56e3
commit b5f0abefb8

View File

@ -822,7 +822,8 @@ sub expand_factoid_vars {
goto ALIAS;
}
my %settings = $self->parse_expansion_modifiers(\$rest);
my $copy = $rest;
my %settings = $self->parse_expansion_modifiers(\$copy);
if ($self->{factoids}->get_data($var_chan, $var, 'type') eq 'text') {
my $change = $self->{factoids}->get_data($var_chan, $var, 'action');