mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-02-02 15:44:06 +01:00
Proper fix for upkeep.
This commit is contained in:
parent
1a1a40ad1f
commit
1dd6dc5b9e
@ -384,8 +384,8 @@ class Owner(callbacks.Plugin):
|
|||||||
(len(ircdb.users._hostmaskCache),
|
(len(ircdb.users._hostmaskCache),
|
||||||
'hostmask to id mapping')))
|
'hostmask to id mapping')))
|
||||||
ircdb.users._hostmaskCache.clear()
|
ircdb.users._hostmaskCache.clear()
|
||||||
L.append(format('linecache line cache flushed: %s cleared.',
|
L.append(format('linecache line cache flushed: %n cleared.',
|
||||||
(len(linecache.cache), 'line'))))
|
(len(linecache.cache), 'line')))
|
||||||
linecache.clearcache()
|
linecache.clearcache()
|
||||||
sys.exc_clear()
|
sys.exc_clear()
|
||||||
collected = world.upkeep()
|
collected = world.upkeep()
|
||||||
|
Loading…
Reference in New Issue
Block a user