From afc137d6cc34dab1bfaa6ef36cb02ebdd5bb41c0 Mon Sep 17 00:00:00 2001 From: timriker Date: Sat, 22 Jan 2005 09:09:39 +0000 Subject: [PATCH 1/1] keep # in channel name git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@1113 c11ca15a-4712-0410-83d8-924469b57eb5 --- scripts/irclog2html.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.2