make chud award work with queen award

pull/216/head
Aevann 2023-10-13 21:58:20 +03:00
parent 9f6042ce50
commit 3406f6f074
1 changed files with 0 additions and 6 deletions

View File

@ -321,9 +321,6 @@ def award_thing(v, thing_type, id):
cache.delete_memoized(frontlist)
else: thing.stickied_utc = t
elif kind == "queen":
if author.chud:
abort(409, f"{safe_username} under the effect of a conflicting award: Chud award!")
if not author.queen:
characters = list(filter(str.isalpha, author.username))
if characters:
@ -366,9 +363,6 @@ def award_thing(v, thing_type, id):
or thing_type == 'comment' and thing.post and thing.post.hole == 'chudrama':
abort(403, "You can't give the chud award in /h/chudrama")
if author.queen:
abort(409, f"{safe_username} under the effect of a conflicting award: Queen award!")
if author.marseyawarded:
abort(409, f"{safe_username} under the effect of a conflicting award: Marsey award!")