3
0
mirror of https://github.com/pragma-/pbot.git synced 2024-11-29 23:39:24 +01:00

Commands: fix some cases in which $args would not expand

This commit is contained in:
Pragmatic Software 2020-05-21 19:38:05 -07:00
parent 0f377d4497
commit 0ac20aa4b1

View File

@ -234,6 +234,7 @@ sub interpreter {
$context->{action} = $context->{arguments}; $context->{action} = $context->{arguments};
$context->{arguments} = $self->{pbot}->{factoids}->expand_factoid_vars($context); $context->{arguments} = $self->{pbot}->{factoids}->expand_factoid_vars($context);
$context->{arglist} = $self->{pbot}->{interpreter}->make_args($context->{arguments});
delete $context->{action}; delete $context->{action};
$context->{no_nickoverride} = 1; $context->{no_nickoverride} = 1;