fixes
parent
937443560c
commit
d607e57c92
|
@ -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)
|
||||
|
|
|
@ -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}:
|
||||
|
|
Loading…
Reference in New Issue