Refactors asay+msay redis controllers (#18483)

This commit is contained in:
AffectedArc07
2022-07-26 15:57:32 +01:00
committed by GitHub
parent 508e1fbfcb
commit 283afca023
8 changed files with 12 additions and 56 deletions
+4 -4
View File
@@ -446,7 +446,7 @@
data["author"] = "alice"
data["source"] = GLOB.configuration.system.instance_id
data["message"] = msg
SSredis.publish("byond.msay.out", json_encode(data))
SSredis.publish("byond.msay", json_encode(data))
else if(holder.rights & R_BAN)
if(SSredis.connected)
@@ -456,7 +456,7 @@
data["author"] = "alice"
data["source"] = GLOB.configuration.system.instance_id
data["message"] = msg
SSredis.publish("byond.asay.out", json_encode(data))
SSredis.publish("byond.asay", json_encode(data))
/client/proc/announce_leave()
if(!holder)
@@ -472,7 +472,7 @@
data["author"] = "alice"
data["source"] = GLOB.configuration.system.instance_id
data["message"] = msg
SSredis.publish("byond.msay.out", json_encode(data))
SSredis.publish("byond.msay", json_encode(data))
else if(holder.rights & R_BAN)
if(SSredis.connected)
@@ -484,7 +484,7 @@
data["author"] = "alice"
data["source"] = GLOB.configuration.system.instance_id
data["message"] = msg
SSredis.publish("byond.asay.out", json_encode(data))
SSredis.publish("byond.asay", json_encode(data))
/client/proc/donor_loadout_points()