mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-16 15:39:21 +01:00
User: Sort output of @capabilities
It's more readable than a random order.
This commit is contained in:
parent
a6aa5530dd
commit
8c17505221
@ -448,7 +448,8 @@ class User(callbacks.Plugin):
|
||||
irc.errorNotRegistered()
|
||||
else:
|
||||
if u == user or u._checkCapability('admin'):
|
||||
irc.reply('[%s]' % '; '.join(user.capabilities), private=True)
|
||||
irc.reply('[%s]' % '; '.join(sorted(user.capabilities)),
|
||||
private=True)
|
||||
else:
|
||||
irc.error(conf.supybot.replies.incorrectAuthentication(),
|
||||
Raise=True)
|
||||
|
Loading…
Reference in New Issue
Block a user