3
0
mirror of https://github.com/pragma-/pbot.git synced 2024-11-19 10:29:30 +01:00

Commented out "Checking ..." in check message history

This commit is contained in:
Pragmatic Software 2010-04-09 22:53:17 +00:00
parent 87ce882450
commit 654291e8a5

View File

@ -129,7 +129,7 @@ sub prune_message_history {
foreach my $nick (keys %{ $self->{message_history} }) { foreach my $nick (keys %{ $self->{message_history} }) {
foreach my $channel (keys %{ $self->{message_history}->{$nick} }) foreach my $channel (keys %{ $self->{message_history}->{$nick} })
{ {
$self->{pbot}->logger->log("Checking [$nick][$channel]\n"); #$self->{pbot}->logger->log("Checking [$nick][$channel]\n");
my $length = $#{ $self->{message_history}->{$nick}{$channel}{messages} } + 1; my $length = $#{ $self->{message_history}->{$nick}{$channel}{messages} } + 1;
my %last = %{ @{ $self->{message_history}->{$nick}{$channel}{messages} }[$length - 1] }; my %last = %{ @{ $self->{message_history}->{$nick}{$channel}{messages} }[$length - 1] };