summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeil Moore <neil@s-z.org>2012-07-08 16:25:54 -0500
committerNeil Moore <neil@s-z.org>2012-07-08 16:25:54 -0500
commit2c44f03e6b5282057ce03451a4f1b5350a347cda (patch)
tree52f8aac09464859e590b6bb822226cccfd498328
parentca5a4c14b1d66eb090ed2813293d8e41c3a072ae (diff)
downloadcrawlbot-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.pm4
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;
}