mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-14 14:49:21 +01:00
User: Admins can now see capabilities of other users. Closes GH-106.
This commit is contained in:
parent
9cd2c31dd4
commit
2e0f33f655
@ -395,7 +395,7 @@ class User(callbacks.Plugin):
|
||||
except KeyError:
|
||||
irc.errorNotRegistered()
|
||||
else:
|
||||
if u == user or u._checkCapability('owner'):
|
||||
if u == user or u._checkCapability('admin'):
|
||||
irc.reply('[%s]' % '; '.join(user.capabilities), private=True)
|
||||
else:
|
||||
irc.error(conf.supybot.replies.incorrectAuthentication(),
|
||||
|
@ -1,3 +1,3 @@
|
||||
"""stick the various versioning attributes in here, so we only have to change
|
||||
them once."""
|
||||
version = '0.83.4.1+limnoria (2011-08-07T11:30:51+0200)'
|
||||
version = '0.83.4.1+limnoria (2011-08-07T11:59:19+0200)'
|
||||
|
Loading…
Reference in New Issue
Block a user