do332 wasn't guarded by self.started.

This commit is contained in:
Jeremy Fincher 2003-09-06 01:15:32 +00:00
parent be45eb2e25
commit b3253df28e
1 changed files with 2 additions and 0 deletions

View File

@ -109,6 +109,8 @@ class Enforcer(callbacks.Privmsg):
def do332(self, irc, msg):
# This command gets sent right after joining a channel.
if not self.started:
return
(channel, topic) = msg.args[1:]
self.topics[channel] = topic