From 1dd6dc5b9e364892dbf838fdcf094ff80a634b23 Mon Sep 17 00:00:00 2001 From: James Vega Date: Fri, 25 Mar 2005 18:48:49 +0000 Subject: [PATCH] Proper fix for upkeep. --- plugins/Owner/plugin.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/Owner/plugin.py b/plugins/Owner/plugin.py index fc6a37214..e3def6794 100644 --- a/plugins/Owner/plugin.py +++ b/plugins/Owner/plugin.py @@ -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()