mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-29 21:54:22 +01:00
Made to ignore empty TOPICs just sent for information.
This commit is contained in:
parent
5974639ee3
commit
9249df4d25
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user