mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-24 11:42:52 +01:00
Made throttling properly respect world.testing.
This commit is contained in:
parent
1bbcfa9a5e
commit
5f7656c781
@ -400,7 +400,7 @@ class Irc(object):
|
||||
if self.fastqueue:
|
||||
msg = self.fastqueue.dequeue()
|
||||
elif self.queue:
|
||||
if now - self.lastTake <= conf.throttleTime:
|
||||
if not world.testing and now - self.lastTake <= conf.throttleTime:
|
||||
debug.msg('Irc.takeMsg throttling.', 'verbose')
|
||||
else:
|
||||
self.lastTake = now
|
||||
|
Loading…
Reference in New Issue
Block a user