Use the channel_title in one more position

Update for the lowercase channelname fix.
This commit is contained in:
Filip H.F. "FiXato" Slagter 2012-06-09 01:37:15 +02:00
parent 930cd6bc11
commit 9b30109af8

View file

@ -262,7 +262,7 @@ class Logbot(SingleServerIRCBot):
write_string("%s/index.html" % chan_path, html_header.replace("%title%", "%s | Logs" % channel_title))
# Append channel to log index
append_line("%s/index.html" % LOG_FOLDER, '<a href="%s/index.html">%s</a>' % (channel.replace("#", "%23"), channel))
append_line("%s/index.html" % LOG_FOLDER, '<a href="%s/index.html">%s</a>' % (channel.replace("#", "%23"), channel_title))
# Current log
time = strftime("%H:%M:%S")