3
0
mirror of https://github.com/pragma-/pbot.git synced 2024-10-03 01:48:38 +02:00

Factoids: remove debug statement

This commit is contained in:
Pragmatic Software 2020-05-02 23:54:49 -07:00
parent a6202c09c6
commit a26411fbc4

View File

@ -870,7 +870,6 @@ sub interpreter {
}
}
$self->{pbot}->{logger}->log("$keyword $context->{interpret_depth}\n");
if ($context->{interpret_depth} <= 1 and $self->{factoids}->get_data($channel, $keyword, 'last_referenced_in') eq $context->{from}) {
my $ratelimit = $self->{pbot}->{registry}->get_value($context->{from}, 'ratelimit_override');
$ratelimit = $self->{factoids}->get_data($channel, $keyword, 'rate_limit') if not defined $ratelimit;