mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-03 16:39:25 +01:00
Tyop.
This commit is contained in:
parent
b2d7893959
commit
f87eb2e654
@ -107,7 +107,7 @@ class Topic(callbacks.Privmsg):
|
|||||||
capability = ircdb.makeChannelCapability(channel, 'topic')
|
capability = ircdb.makeChannelCapability(channel, 'topic')
|
||||||
if ircdb.checkCapability(msg.prefix, capability):
|
if ircdb.checkCapability(msg.prefix, capability):
|
||||||
newtopic = irc.state.getTopic(channel)
|
newtopic = irc.state.getTopic(channel)
|
||||||
while newtopic = irc.state.getTopic(channel):
|
while newtopic == irc.state.getTopic(channel):
|
||||||
topics = irc.state.getTopic(channel).split(self.topicSeparator)
|
topics = irc.state.getTopic(channel).split(self.topicSeparator)
|
||||||
random.shuffle(topics)
|
random.shuffle(topics)
|
||||||
newtopic = self.topicSeparator.join(topics)
|
newtopic = self.topicSeparator.join(topics)
|
||||||
|
Loading…
Reference in New Issue
Block a user