summaryrefslogtreecommitdiffstats
path: root/modules/log.pl
diff options
context:
space:
mode:
authorLibravatarWilliam Heimbigner <william.heimbigner@gmail.com>2007-10-08 13:28:23 +0000
committerLibravatarWilliam Heimbigner <william.heimbigner@gmail.com>2007-10-08 13:28:23 +0000
commit917638dfdf31e26ae9115dabb5c2fe528866c549 (patch)
treed5ab13c057983bff1fac0ed64638bb105f8f03b7 /modules/log.pl
parent3790452619828dc2c5d27c13eeec7b67b3fe6eff (diff)
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.
Diffstat (limited to 'modules/log.pl')
-rw-r--r--modules/log.pl3
1 files changed, 3 insertions, 0 deletions
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';