We need to declare watchingFor332 before using it.

This commit is contained in:
James Vega 2005-01-11 13:50:51 +00:00
parent 6b4b1d171c
commit f39a2849d3

View File

@ -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>]