diff options
| author | 2016-01-14 16:11:04 -0700 | |
|---|---|---|
| committer | 2016-01-14 16:11:04 -0700 | |
| commit | 0f0d4c4209a902a252fc6e764c7bacf158b12954 (patch) | |
| tree | b09ccc84bbdfbbd42e9021fc9d911d176d9e7e8f /lib/ASM/Inspect.pm | |
| parent | 037bc83e73761411214d3963c3c17c77a853dd11 (diff) | |
Move channel logging hooks into the logging module, rather than calling them from the event module.
Diffstat (limited to 'lib/ASM/Inspect.pm')
| -rw-r--r-- | lib/ASM/Inspect.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ASM/Inspect.pm b/lib/ASM/Inspect.pm index 9f27100..f351e1f 100644 --- a/lib/ASM/Inspect.pm +++ b/lib/ASM/Inspect.pm @@ -23,7 +23,7 @@ sub inspect { my (@dnsbl, @uniq); my ($match, $txtz, $iaddr); my @override = []; - my $nick = lc $event->{nick}; + my $nick = ($event->{type} eq 'nick') ? $event->{args}->[0] : lc $event->{nick}; my $xresult; return if (index($nick, ".") != -1); if ( $event->{type} eq 'join' ) { |
