diff --git a/PBot/Factoids.pm b/PBot/Factoids.pm index 5834fae5..78f5542d 100644 --- a/PBot/Factoids.pm +++ b/PBot/Factoids.pm @@ -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);