From 917638dfdf31e26ae9115dabb5c2fe528866c549 Mon Sep 17 00:00:00 2001 From: William Heimbigner Date: Mon, 8 Oct 2007 13:28:23 +0000 Subject: added a db command, improved the user set flags command, added linked channels, added a showhilights command, eliminated flooding of alerts, fixed nickspam check, added something to watch chancounts. --- modules/log.pl | 3 +++ 1 file changed, 3 insertions(+) (limited to 'modules/log.pl') diff --git a/modules/log.pl b/modules/log.pl index e8a178a..6f25c48 100644 --- a/modules/log.pl +++ b/modules/log.pl @@ -27,6 +27,9 @@ sub logg foreach my $chan ( @chans ) { $chan = lc $chan; + if (substr($chan, 0, 1) eq '@') { + $chan = substr($chan, 1); + } my $path = ">>$cfg->{dir}${chan}/${chan}" . strftime($cfg->{filefmt}, @time); $_ = ''; $_ = "<$event->{nick}> $event->{args}->[0]" if $event->{type} eq 'public'; -- cgit v1.2.3