mirror of
https://github.com/pragma-/pbot.git
synced 2024-12-23 19:22:40 +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};
|
||||
|
||||
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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user