forked from MarseyWorld/MarseyWorld
remove unnecessary restriction
parent
0e8738afeb
commit
599189b6e0
|
@ -527,9 +527,6 @@ def update_emoji(v):
|
||||||
if not existing:
|
if not existing:
|
||||||
abort(400, "An emoji with this name doesn't exist!")
|
abort(400, "An emoji with this name doesn't exist!")
|
||||||
|
|
||||||
if SITE in {'rdrama.net', 'watchpeopledie.tv'} and existing.author_id == 2:
|
|
||||||
abort(403, f"This emoji was submitted through {OTHER_SITE_NAME}, so you can only update it there!")
|
|
||||||
|
|
||||||
updated = False
|
updated = False
|
||||||
|
|
||||||
if new_name and existing.name != new_name:
|
if new_name and existing.name != new_name:
|
||||||
|
|
Loading…
Reference in New Issue