diff options
author | Jesse Luehrs <doy@tozt.net> | 2010-01-25 09:25:25 -0600 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2010-01-25 09:25:25 -0600 |
commit | f60edd672550c8dc45234266a5a22bb04f7b7674 (patch) | |
tree | fdcc561c998e7c64c61d5ea8404e349344f2cd5c /lib/Crawl/Bot/Plugin/Logging.pm | |
parent | 37f3ba03271b4e793c1b089e3ccf0201e615f6ae (diff) | |
download | crawlbot-f60edd672550c8dc45234266a5a22bb04f7b7674.tar.gz crawlbot-f60edd672550c8dc45234266a5a22bb04f7b7674.zip |
bleh, nick_change uses a different arg format
Diffstat (limited to 'lib/Crawl/Bot/Plugin/Logging.pm')
-rw-r--r-- | lib/Crawl/Bot/Plugin/Logging.pm | 5 |
1 files 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; } |