summaryrefslogtreecommitdiffstats
path: root/modules/log.pl
diff options
context:
space:
mode:
Diffstat (limited to 'modules/log.pl')
-rw-r--r--modules/log.pl4
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/log.pl b/modules/log.pl
index fe92159..72e0972 100644
--- a/modules/log.pl
+++ b/modules/log.pl
@@ -63,6 +63,10 @@ sub logg
if (substr($chan, 0, 1) eq '@') {
$chan = substr($chan, 1);
}
+ if ($chan eq '*') {
+ ASM::Util->dprint("$event->{nick}: $event->{args}->[0]", 'snotice');
+ next;
+ }
my $path = ">>$cfg->{dir}${chan}/${chan}" . strftime($cfg->{filefmt}, @time);
$_ = '';
$_ = "<$event->{nick}> $event->{args}->[0]" if $event->{type} eq 'public';