make pcm jannies able to give all badges

master
Aevann1 2022-09-21 21:43:57 +02:00
parent fb1b1279fe
commit 5526bcf79d
1 changed files with 1 additions and 1 deletions

View File

@ -552,7 +552,7 @@ def badge_grant_post(v):
try: badge_id = int(request.values.get("badge_id"))
except: abort(400)
if badge_id in {16,17,21,22,23,24,25,26,27,94,95,96,97,98,109,137} and v.id != AEVANN_ID:
if badge_id in {16,17,21,22,23,24,25,26,27,94,95,96,97,98,109,137} and v.id != AEVANN_ID and SITE != 'pcmemes.net':
abort(403)
if user.has_badge(badge_id):