Permalink
Browse files

Allow logging of ##channel as #channel

  • Loading branch information...
1 parent 09eaa4f commit 8bac4c99c1367db500abf5e370bd61280e621e05 @moritz committed Feb 12, 2013
Showing with 1 addition and 0 deletions.
  1. +1 −0 ilbot2.pl
View
@@ -24,6 +24,7 @@ package IrcLogBot;
sub dbwrite {
my ($channel, $who, $line) = @_;
return unless $channel =~ /\A#\S+\z/;
+ $channel =~ s/\A##/#/;
# mncharity aka putter has an IRC client that prepends some lines with
# a BOM. Remove that:
$line =~ s/\A\x{ffef}//;

0 comments on commit 8bac4c9

Please sign in to comment.