Proper fix for upkeep.

This commit is contained in:
James Vega 2005-03-25 18:48:49 +00:00
parent 1a1a40ad1f
commit 1dd6dc5b9e

View File

@ -384,8 +384,8 @@ class Owner(callbacks.Plugin):
(len(ircdb.users._hostmaskCache),
'hostmask to id mapping')))
ircdb.users._hostmaskCache.clear()
L.append(format('linecache line cache flushed: %s cleared.',
(len(linecache.cache), 'line'))))
L.append(format('linecache line cache flushed: %n cleared.',
(len(linecache.cache), 'line')))
linecache.clearcache()
sys.exc_clear()
collected = world.upkeep()