From f39a2849d3c1acace4ee10168418f3ce4ffbb38c Mon Sep 17 00:00:00 2001 From: James Vega Date: Tue, 11 Jan 2005 13:50:51 +0000 Subject: [PATCH] We need to declare watchingFor332 before using it. --- plugins/Topic.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/Topic.py b/plugins/Topic.py index 4bcde203b..233c49511 100644 --- a/plugins/Topic.py +++ b/plugins/Topic.py @@ -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): """[]