summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2010-01-25 09:25:25 -0600
committerJesse Luehrs <doy@tozt.net>2010-01-25 09:25:25 -0600
commitf60edd672550c8dc45234266a5a22bb04f7b7674 (patch)
treefdcc561c998e7c64c61d5ea8404e349344f2cd5c
parent37f3ba03271b4e793c1b089e3ccf0201e615f6ae (diff)
downloadcrawlbot-f60edd672550c8dc45234266a5a22bb04f7b7674.tar.gz
crawlbot-f60edd672550c8dc45234266a5a22bb04f7b7674.zip
bleh, nick_change uses a different arg format
-rw-r--r--lib/Crawl/Bot/Plugin/Logging.pm5
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;
}