From f60edd672550c8dc45234266a5a22bb04f7b7674 Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Mon, 25 Jan 2010 09:25:25 -0600 Subject: bleh, nick_change uses a different arg format --- lib/Crawl/Bot/Plugin/Logging.pm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/Crawl/Bot/Plugin/Logging.pm b/lib/Crawl/Bot/Plugin/Logging.pm index 06838c3..f5e8ddb 100644 --- a/lib/Crawl/Bot/Plugin/Logging.pm +++ b/lib/Crawl/Bot/Plugin/Logging.pm @@ -98,9 +98,10 @@ sub chanpart { sub nick_change { my $self = shift; - my ($args) = @_; + # bleh... uses different arg format + my ($old, $new) = @_; - $self->log_message("-!- $args->{from} is now known as $args->{to}"); + $self->log_message("-!- $old is now known as $new"); return; } -- cgit v1.2.3-54-g00ecf