mirror of https://github.com/Mikaela/Limnoria.git
do332 wasn't guarded by self.started.
This commit is contained in:
parent
be45eb2e25
commit
b3253df28e
|
@ -109,6 +109,8 @@ class Enforcer(callbacks.Privmsg):
|
||||||
|
|
||||||
def do332(self, irc, msg):
|
def do332(self, irc, msg):
|
||||||
# This command gets sent right after joining a channel.
|
# This command gets sent right after joining a channel.
|
||||||
|
if not self.started:
|
||||||
|
return
|
||||||
(channel, topic) = msg.args[1:]
|
(channel, topic) = msg.args[1:]
|
||||||
self.topics[channel] = topic
|
self.topics[channel] = topic
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue