From 87deaf1658532b679f969ecf8067bde823f3f1bb Mon Sep 17 00:00:00 2001 From: Erik Johnston Date: Wed, 24 Sep 2014 16:15:58 +0100 Subject: SYN-70: Fix typo --- synapse/api/auth.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'synapse') 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, ) -- cgit 1.4.1