3
0
mirror of https://github.com/pragma-/pbot.git synced 2024-12-24 19:52:34 +01:00

Spinach: Remove debugging statements

This commit is contained in:
Pragmatic Software 2019-05-03 17:18:59 -07:00
parent 6e43b6c28f
commit 0b500616b9

View File

@ -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...");