diff options
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; } |