forked from MarseyWorld/MarseyWorld
fix this https://rdrama.net/h/changelog/post/165657/changelog-megathread-marseynotes/5971305#context
parent
d11f821089
commit
1043889a30
|
@ -309,7 +309,7 @@ def group_usurp(v, group_name):
|
|||
if not group: abort(404)
|
||||
|
||||
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):
|
||||
abort(403, "Only members of groups can usurp them!")
|
||||
|
|
Loading…
Reference in New Issue