mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2024-12-26 03:19:24 -05:00
SYN-70: Fix typo
This commit is contained in:
parent
432e8ef2bc
commit
87deaf1658
@ -376,7 +376,7 @@ class Auth(object):
|
|||||||
same = set(old_people.keys()) & set(new_people.keys())
|
same = set(old_people.keys()) & set(new_people.keys())
|
||||||
|
|
||||||
for r in removed:
|
for r in removed:
|
||||||
if int(old_list.content[r]) > user_level:
|
if int(old_list[r]) > user_level:
|
||||||
raise AuthError(
|
raise AuthError(
|
||||||
403,
|
403,
|
||||||
"You don't have permission to remove user: %s" % (r, )
|
"You don't have permission to remove user: %s" % (r, )
|
||||||
|
Loading…
Reference in New Issue
Block a user