pull/83/head
Aevann 2022-12-27 06:24:25 +02:00
parent 937443560c
commit d607e57c92
2 changed files with 2 additions and 1 deletions

View File

@ -925,6 +925,7 @@ def shadowban(user_id, v):
abort(403)
user.shadowbanned = v.id
reason = request.values.get("reason").strip()[:256]
reason = filter_emojis_only(reason)
user.ban_reason = reason
g.db.add(user)
check_for_alts(user, False)

View File

@ -166,7 +166,7 @@ def award_thing(v, thing_type, id):
if thing.ghost and v.id != author.id:
safe_username = "👻"
else
else:
safe_username = f"@{author.username}"
if SITE == 'rdrama.net' and author.id == PIZZASHILL_ID and v.id not in {AEVANN_ID, SNAKES_ID}: