Fix0red the scheduling of upkeep.

This commit is contained in:
Jeremy Fincher 2004-10-24 02:26:24 +00:00
parent 8954aa2d71
commit 66d9d45414
1 changed files with 1 additions and 1 deletions

View File

@ -72,7 +72,7 @@ def main():
# 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.
interrupted = False
when = time.time() + conf.supybot.upkeepInterval()
when = conf.supybot.upkeepInterval()
schedule.addPeriodicEvent(world.upkeep, when, name='upkeep', now=False)
world.startedAt = started
while world.ircs: