Aevann 2024-02-19 01:22:09 +02:00
parent d11f821089
commit 1043889a30
1 changed files with 1 additions and 1 deletions

View File

@ -309,7 +309,7 @@ def group_usurp(v, group_name):
if not group: abort(404) if not group: abort(404)
if v.mods_group(group): if v.mods_group(group):
abort(403, f"You're a mod of /h/{group.name} can't usurp it!") abort(403, f"You're a mod of !{group.name} can't usurp it!")
if not v.is_member_of_group(group): if not v.is_member_of_group(group):
abort(403, "Only members of groups can usurp them!") abort(403, "Only members of groups can usurp them!")