From: timriker Date: Sat, 22 Jan 2005 09:09:39 +0000 (+0000) Subject: keep # in channel name X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=afc137d6cc34dab1bfaa6ef36cb02ebdd5bb41c0;hp=f9cfb0998e8ec969fbfdea913e0457dddcb8e2dd;p=infobot.git keep # in channel name git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@1113 c11ca15a-4712-0410-83d8-924469b57eb5 --- diff --git a/scripts/irclog2html.pl b/scripts/irclog2html.pl index 20593b8..fa4b2ae 100755 --- a/scripts/irclog2html.pl +++ b/scripts/irclog2html.pl @@ -250,7 +250,7 @@ sub main { $nick = $line; $nick =~ s/^<\;([^\/]*?)\/\#.*?>\; .*$/$1/; $channel = $line; - $channel =~ s/^<\;[^\/]*?\/\#(.*?)>\; .*$/$1/; + $channel =~ s/^<\;[^\/]*?\/(\#.*?)>\; .*$/$1/; # $nick =~ tr/[A-Z]/[a-z]/; # <======= move this into another function when getting nick colour