mirror of
https://github.com/pragma-/pbot.git
synced 2024-12-24 03:33:06 +01:00
Spinach: Remove debugging statements
This commit is contained in:
parent
6e43b6c28f
commit
0b500616b9
@ -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...");
|
||||
|
Loading…
Reference in New Issue
Block a user