summaryrefslogtreecommitdiff
path: root/logbot.py
diff options
context:
space:
mode:
authorFilip H.F. "FiXato" Slagter <fixato@gmail.com>2012-06-09 01:37:15 +0200
committerFilip H.F. "FiXato" Slagter <fixato@gmail.com>2012-06-09 01:37:15 +0200
commit9b30109af83121b675b03c9b27dc895fc8426fe4 (patch)
tree6aeb0e41896cd227bda4b56cb44fa4362314f70f /logbot.py
parent930cd6bc11ffd05f92889232051ad851ae4892db (diff)
downloadlogbot-9b30109af83121b675b03c9b27dc895fc8426fe4.tar.xz
Use the channel_title in one more position
Update for the lowercase channelname fix.
Diffstat (limited to 'logbot.py')
-rwxr-xr-xlogbot.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/logbot.py b/logbot.py
index 322031d..3e54ec8 100755
--- a/logbot.py
+++ b/logbot.py
@@ -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")