mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-26 20:59:27 +01:00
Fix0red the scheduling of upkeep.
This commit is contained in:
parent
8954aa2d71
commit
66d9d45414
@ -72,7 +72,7 @@ def main():
|
|||||||
# is a failure between now and the time it takes the Owner plugin to load
|
# is a failure between now and the time it takes the Owner plugin to load
|
||||||
# all the various plugins, our registry file might be wiped. That's bad.
|
# all the various plugins, our registry file might be wiped. That's bad.
|
||||||
interrupted = False
|
interrupted = False
|
||||||
when = time.time() + conf.supybot.upkeepInterval()
|
when = conf.supybot.upkeepInterval()
|
||||||
schedule.addPeriodicEvent(world.upkeep, when, name='upkeep', now=False)
|
schedule.addPeriodicEvent(world.upkeep, when, name='upkeep', now=False)
|
||||||
world.startedAt = started
|
world.startedAt = started
|
||||||
while world.ircs:
|
while world.ircs:
|
||||||
|
Loading…
Reference in New Issue
Block a user