From 2e0f33f6559d404bab698082954af883d466aa06 Mon Sep 17 00:00:00 2001 From: Valentin Lorentz Date: Sun, 7 Aug 2011 11:59:19 +0200 Subject: [PATCH] User: Admins can now see capabilities of other users. Closes GH-106. --- plugins/User/plugin.py | 2 +- src/version.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/User/plugin.py b/plugins/User/plugin.py index a1e98f512..fb37dd0ff 100644 --- a/plugins/User/plugin.py +++ b/plugins/User/plugin.py @@ -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(), diff --git a/src/version.py b/src/version.py index e43606e5c..4e9c4a2ac 100644 --- a/src/version.py +++ b/src/version.py @@ -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)'