Use the channel_title in one more position
Update for the lowercase channelname fix.
This commit is contained in:
parent
930cd6bc11
commit
9b30109af8
1 changed files with 1 additions and 1 deletions
|
@ -262,7 +262,7 @@ class Logbot(SingleServerIRCBot):
|
||||||
write_string("%s/index.html" % chan_path, html_header.replace("%title%", "%s | Logs" % channel_title))
|
write_string("%s/index.html" % chan_path, html_header.replace("%title%", "%s | Logs" % channel_title))
|
||||||
|
|
||||||
# Append channel to log index
|
# 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
|
# Current log
|
||||||
time = strftime("%H:%M:%S")
|
time = strftime("%H:%M:%S")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue