diff options
author | Neil Moore <neil@s-z.org> | 2012-07-08 16:25:54 -0500 |
---|---|---|
committer | Neil Moore <neil@s-z.org> | 2012-07-08 16:25:54 -0500 |
commit | 2c44f03e6b5282057ce03451a4f1b5350a347cda (patch) | |
tree | 52f8aac09464859e590b6bb822226cccfd498328 | |
parent | ca5a4c14b1d66eb090ed2813293d8e41c3a072ae (diff) | |
download | crawlbot-2c44f03e6b5282057ce03451a4f1b5350a347cda.tar.gz crawlbot-2c44f03e6b5282057ce03451a4f1b5350a347cda.zip |
Actually log user quits.
Unfortunately, we can't easily track whether they were in the primary
channel so this might be a little spammy.
-rw-r--r-- | lib/Crawl/Bot/Plugin/Logging.pm | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/Crawl/Bot/Plugin/Logging.pm b/lib/Crawl/Bot/Plugin/Logging.pm index 453b793..1d46d14 100644 --- a/lib/Crawl/Bot/Plugin/Logging.pm +++ b/lib/Crawl/Bot/Plugin/Logging.pm @@ -143,9 +143,7 @@ sub userquit { my $self = shift; my ($args) = @_; - if ($args->{channel} eq $self->bot->{channels}[0]) { - $self->log_message("-!- $args->{who} has quit [$args->{body}]"); - } + $self->log_message("-!- $args->{who} has quit [$args->{body}]"); return; } |