mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-24 11:42:52 +01:00
Sort plugin results.
This commit is contained in:
parent
e45ad03ef4
commit
3902e9f48f
@ -305,7 +305,9 @@ class Misc(callbacks.Privmsg):
|
||||
command = callbacks.canonicalName(privmsgs.getArgs(args))
|
||||
cbs = callbacks.findCallbackForCommand(irc, command)
|
||||
if cbs:
|
||||
irc.reply(utils.commaAndify([cb.name() for cb in cbs]))
|
||||
names = [cb.name() for cb in cbs]
|
||||
names.sort()
|
||||
irc.reply(utils.commaAndify(names))
|
||||
else:
|
||||
irc.error('There is no such command %s' % command)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user