mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-02-02 07:34:08 +01:00
We need to declare watchingFor332 before using it.
This commit is contained in:
parent
6b4b1d171c
commit
f39a2849d3
@ -141,6 +141,7 @@ class Topic(callbacks.Privmsg):
|
||||
self.undos = ircutils.IrcDict()
|
||||
self.redos = ircutils.IrcDict()
|
||||
self.lastTopics = ircutils.IrcDict()
|
||||
self.watchingFor332 = ircutils.IrcSet()
|
||||
|
||||
def _splitTopic(self, topic, channel):
|
||||
separator = self.registryValue('separator', channel)
|
||||
@ -200,7 +201,7 @@ class Topic(callbacks.Privmsg):
|
||||
def do332(self, irc, msg):
|
||||
if msg.args[1] in self.watchingFor332:
|
||||
self.watchingFor332.remove(msg.args[1])
|
||||
|
||||
|
||||
def topic(self, irc, msg, args, channel):
|
||||
"""[<channel>]
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user