From 8c8e8bbbd8bb05e1aa4e59e4dac6636912501ad9 Mon Sep 17 00:00:00 2001 From: Neil Moore Date: Sat, 7 Jan 2012 03:49:33 -0500 Subject: Actually ignore private messages. --- lib/Crawl/Bot/Plugin/Logging.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Crawl/Bot/Plugin/Logging.pm b/lib/Crawl/Bot/Plugin/Logging.pm index 24d6b7d..4de428d 100644 --- a/lib/Crawl/Bot/Plugin/Logging.pm +++ b/lib/Crawl/Bot/Plugin/Logging.pm @@ -68,8 +68,8 @@ sub said { my $self = shift; my ($args) = @_; - unless ($args->{channel} eq 'message') { - $self->log_message("<$args->{who}> $args->{body}"); + unless ($args->{channel} eq 'msg') { + $self->log_message("<$args->{who}> $args->{body}"); } return; } -- cgit v1.2.3-54-g00ecf