]> git.donarmstrong.com Git - infobot.git/blobdiff - scripts/irclog2html.pl
keep # in channel name
[infobot.git] / scripts / irclog2html.pl
index 20593b856833cbff0e6be29fbfc51af7700969bf..fa4b2aea181d91849832c694ad309638c9533db3 100755 (executable)
@@ -250,7 +250,7 @@ sub main {
                                $nick = $line;
                                $nick =~ s/^&lt\;([^\/]*?)\/\#.*?&gt\; .*$/$1/;
                                $channel = $line;
-                               $channel =~ s/^&lt\;[^\/]*?\/\#(.*?)&gt\; .*$/$1/;
+                               $channel =~ s/^&lt\;[^\/]*?\/(\#.*?)&gt\; .*$/$1/;
 
                                # $nick =~ tr/[A-Z]/[a-z]/;
                                # <======= move this into another function when getting nick colour