fix: cache command
authorThomasV <thomasv@gitorious>
Sun, 28 Apr 2013 05:53:26 +0000 (09:53 +0400)
committerThomasV <thomasv@gitorious>
Sun, 28 Apr 2013 05:53:26 +0000 (09:53 +0400)
backends/irc/__init__.py

index e153402..f0056d0 100644 (file)
@@ -204,7 +204,7 @@ class ServerProcessor(Processor):
 
         elif method == 'server.cache':
             p = self.dispatcher.request_dispatcher.processors['blockchain']
-            result = len(repr(p.store.tx_cache))
+            result = len(repr(p.history_cache))
 
         elif method == 'server.load':
             p = self.dispatcher.request_dispatcher.processors['blockchain']