forked from MarseyWorld/MarseyWorld
fixes to chat
parent
3fe80c4f4d
commit
fdd05d36be
|
@ -96,7 +96,7 @@ def speak(data, v):
|
|||
else:
|
||||
emit('speak', data, room=request.referrer, broadcast=True)
|
||||
messages[request.referrer][id] = data
|
||||
messages[request.referrer] = dict(messages[request.referrer].items()[-500:])
|
||||
messages[request.referrer] = dict(list(messages[request.referrer].items())[-500:])
|
||||
|
||||
if v.admin_level >= PERMS['USER_BAN']:
|
||||
text = text.lower()
|
||||
|
|
Loading…
Reference in New Issue