From 786066da18d6ff58628c9665e3c711f7af7fce35 Mon Sep 17 00:00:00 2001 From: mathieui Date: Fri, 9 Mar 2012 14:42:22 +0100 Subject: =?UTF-8?q?Replace=20/load=20with=20/load=5Fdb=20in=20AI=20plugin?= =?UTF-8?q?=E2=80=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugins/ai.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/ai.py b/plugins/ai.py index d86b2393..62ae2a96 100644 --- a/plugins/ai.py +++ b/plugins/ai.py @@ -105,7 +105,7 @@ class Plugin(BasePlugin): self.add_tab_command(tabs.MucTab, 'stop', self.command_stop, '/stop\nStop: Stop parsing the messages', None) self.add_tab_command(tabs.MucTab, 'flush', self.command_flush, '/flush\nFlush: Flush the database', None) self.add_tab_command(tabs.MucTab, 'save', self.command_save, '/save \nSave: Save the database to a file', None) - self.add_tab_command(tabs.MucTab, 'load', self.command_load, '/load \nLoad: Load the database from a file', None) + self.add_tab_command(tabs.MucTab, 'load_db', self.command_load_db, '/load_db \nLoad: Load the database from a file', None) self.tabs = {} self.analyzer = Analyzer() @@ -144,7 +144,7 @@ class Plugin(BasePlugin): else: self.core.information('Nothing to flush', 'Info') - def command_load(self, arg): + def command_load_db(self, arg): name = self.core.current_tab().get_name() try: file = open(arg, 'rb') -- cgit v1.2.3