From ccafbf4847f6e127b231358228f44a842fb2189e Mon Sep 17 00:00:00 2001 From: Valentin Lorentz Date: Wed, 21 Aug 2013 20:56:18 +0200 Subject: [PATCH] Aka: Speed up commands listing by statically listing builtin commands instead of invoking parent's listCommands(). --- plugins/Aka/plugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/Aka/plugin.py b/plugins/Aka/plugin.py index 32e842202..1747ef50e 100644 --- a/plugins/Aka/plugin.py +++ b/plugins/Aka/plugin.py @@ -253,7 +253,7 @@ class Aka(callbacks.Plugin): return list(set(map(callbacks.formatCommand, self._db.get_aka_list(channel) + self._db.get_aka_list('global')) + - self.__parent.listCommands())) + ['add', 'remove', 'lock', 'unlock', 'importaliasdatabase'])) def getCommand(self, args): canonicalName = callbacks.canonicalName