From a1a7864f54e4db69181562309dfc822ca94d4dcd Mon Sep 17 00:00:00 2001 From: GLolol Date: Wed, 17 Dec 2014 07:35:26 -0800 Subject: [PATCH] Aka: update list command --- plugins/Aka/plugin.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/Aka/plugin.py b/plugins/Aka/plugin.py index e80aed941..e5d939039 100644 --- a/plugins/Aka/plugin.py +++ b/plugins/Aka/plugin.py @@ -711,7 +711,7 @@ class Aka(callbacks.Plugin): importaliasdatabase = wrap(importaliasdatabase, ['owner']) def list(self, irc, msg, args, optlist): - """[--channel] <#channel> + """[--channel <#channel>] Lists all Akas defined for . If is not specified, lists all global Akas.""" @@ -730,7 +730,7 @@ class Aka(callbacks.Plugin): irc.replies(s) else: irc.error(_("No Akas found.")) - list = wrap(list, [getopts({'channel': 'somethingWithoutSpaces'})]) + list = wrap(list, [getopts({'channel': 'channel'})]) Class = Aka