mirror of
https://github.com/pragma-/pbot.git
synced 2025-02-17 05:50:56 +01:00
Factoids: fix minor warning
This commit is contained in:
parent
037b0796d1
commit
1c52041be2
@ -745,7 +745,7 @@ sub expand_factoid_vars {
|
|||||||
|
|
||||||
$action = defined $action ? $action : $context->{action};
|
$action = defined $action ? $action : $context->{action};
|
||||||
|
|
||||||
return $action if $self->{factoids}->get_data($context->{channel}, $context->{keyword}, 'interpolate') eq '0';
|
return $action if not $self->{factoids}->get_data($context->{channel}, $context->{keyword}, 'interpolate');
|
||||||
|
|
||||||
$action = $self->expand_factoid_selectors($context, $action, %opts);
|
$action = $self->expand_factoid_selectors($context, $action, %opts);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user