mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-23 19:22:45 +01:00
Made IrcState handle empty TOPIC correctly.
This commit is contained in:
parent
9249df4d25
commit
7d01f9eeb3
@ -292,6 +292,8 @@ class IrcState(IrcCommandDispatcher):
|
||||
channel.removeUser(msg.nick)
|
||||
|
||||
def doTopic(self, irc, msg):
|
||||
if len(msg.args) == 1:
|
||||
return # Empty TOPIC for information. Does not affect state.
|
||||
chan = self.channels[msg.args[0]]
|
||||
chan.topic = msg.args[1]
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user