forked from rDrama/rDrama
1
0
Fork 0

make jannies immune to automatic chat mute

master
Aevann 2023-09-23 20:51:20 +03:00
parent 824bac56d1
commit dbd170f205
1 changed files with 1 additions and 1 deletions

View File

@ -140,7 +140,7 @@ def speak(data, v):
del muted[vname]
emit("online", [online[request.referrer], muted], room=request.referrer, broadcast=True)
if SITE == 'rdrama.net':
if SITE == 'rdrama.net' and v.admin_level < PERMS['BYPASS_ANTISPAM_CHECKS']:
def shut_up():
self_only = True
muted_until = int(time.time() + 600)