User: Admins can now see capabilities of other users. Closes GH-106.

This commit is contained in:
Valentin Lorentz 2011-08-07 11:59:19 +02:00
parent 9cd2c31dd4
commit 2e0f33f655
2 changed files with 2 additions and 2 deletions

View File

@ -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(),

View File

@ -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)'