From 0b500616b96fec2561441b61c436a95da17cd2a8 Mon Sep 17 00:00:00 2001 From: Pragmatic Software Date: Fri, 3 May 2019 17:18:59 -0700 Subject: [PATCH] Spinach: Remove debugging statements --- PBot/Plugins/Spinach.pm | 4 ---- 1 file changed, 4 deletions(-) diff --git a/PBot/Plugins/Spinach.pm b/PBot/Plugins/Spinach.pm index a81c43b1..8166041f 100644 --- a/PBot/Plugins/Spinach.pm +++ b/PBot/Plugins/Spinach.pm @@ -1651,10 +1651,6 @@ sub getnewquestion { my $now = time; @questions = grep { $now - $self->{categories}{$state->{current_category}}{$_}->{seen_timestamp} >= $self->{metadata}->{hash}->{settings}->{seen_expiry} } @questions; - use Data::Dumper; - my $dump = Dumper @questions; - $self->{pbot}->{logger}->log("questions dump: $dump\n"); - if (not @questions) { $self->{pbot}->{logger}->log("Zero questions for [$state->{current_category}]!\n"); $self->send_message($self->{channel}, "Seen all questions in category $state->{current_category}! Picking new category...");