forked from MarseyWorld/MarseyWorld
add forgotten field
parent
506bf91dc0
commit
ef906cb8da
|
@ -187,7 +187,7 @@ def speak(data, v):
|
||||||
self_only = True
|
self_only = True
|
||||||
|
|
||||||
if self_only or v.shadowbanned or execute_blackjack(v, None, text, "chat"):
|
if self_only or v.shadowbanned or execute_blackjack(v, None, text, "chat"):
|
||||||
emit('speak', data)
|
emit('speak', data, room=request.referrer)
|
||||||
else:
|
else:
|
||||||
emit('speak', data, room=request.referrer, broadcast=True)
|
emit('speak', data, room=request.referrer, broadcast=True)
|
||||||
messages[request.referrer][id] = data
|
messages[request.referrer][id] = data
|
||||||
|
|
Loading…
Reference in New Issue