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:
parent
87ce882450
commit
654291e8a5
@ -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] };
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user