Made to ignore empty TOPICs just sent for information.

This commit is contained in:
Jeremy Fincher 2003-09-06 02:06:57 +00:00
parent 5974639ee3
commit 9249df4d25

View File

@ -153,6 +153,8 @@ class ChannelLogger(irclib.IrcCallback):
' '.join(msg.args[2:])))
def doTopic(self, irc, msg):
if len(msg.args) == 1:
return # It's an empty TOPIC just to get the current topic.
channel = msg.args[0]
log = self.getLog(channel)
self.timestamp(log)