summary refs log tree commit diff
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2014-09-24 16:15:58 +0100
committerErik Johnston <erik@matrix.org>2014-09-24 16:15:58 +0100
commit87deaf1658532b679f969ecf8067bde823f3f1bb (patch)
tree1842f1e8e18ea9c996e6a39f6fb2b699b5944e17
parentFixed SYWEB-74: Emote desktop notifications sometimes lack a name: "undefined... (diff)
downloadsynapse-87deaf1658532b679f969ecf8067bde823f3f1bb.tar.xz
SYN-70: Fix typo
Diffstat (limited to '')
-rw-r--r--synapse/api/auth.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/api/auth.py b/synapse/api/auth.py
index 8f32191b57..80fe5d925d 100644
--- a/synapse/api/auth.py
+++ b/synapse/api/auth.py
@@ -376,7 +376,7 @@ class Auth(object):
         same = set(old_people.keys()) & set(new_people.keys())
 
         for r in removed:
-            if int(old_list.content[r]) > user_level:
+            if int(old_list[r]) > user_level:
                 raise AuthError(
                     403,
                     "You don't have permission to remove user: %s" % (r, )