mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-17 15:13:02 +01:00
Don't complain about not adding messages to the message queue when world.startup is in effect.
This commit is contained in:
parent
ff8a967647
commit
17815fbeda
@ -94,7 +94,7 @@ class IrcMsgQueue(object):
|
|||||||
self.queue = []
|
self.queue = []
|
||||||
|
|
||||||
def enqueueMsg(self, msg):
|
def enqueueMsg(self, msg):
|
||||||
if msg in self.msgs:
|
if msg in self.msgs and not world.startup:
|
||||||
debug.debugMsg('Not adding msg %s to queue' % msg, 'normal')
|
debug.debugMsg('Not adding msg %s to queue' % msg, 'normal')
|
||||||
else:
|
else:
|
||||||
self.msgs.add(msg)
|
self.msgs.add(msg)
|
||||||
|
Loading…
Reference in New Issue
Block a user