mirror of
https://github.com/SPLURT-Station/S.P.L.U.R.T-Station-13.git
synced 2025-12-11 10:22:13 +00:00
[MIRROR] Fixes chat SDQL permanently disabling all admin sdql and proccalls for the round. (#4484)
* Merge pull request #33730 from kevinz000/patch-409 Fixes chat SDQL permanently disabling all admin sdql and proccalls for the round. * Fixes chat SDQL permanently disabling all admin sdql and proccalls for the round.
This commit is contained in:
committed by
kevinz000
parent
f29a3f89d0
commit
ff4c5907a6
@@ -94,6 +94,7 @@ GLOBAL_LIST(round_end_notifiees)
|
||||
return "Unable to run query, another admin proc call is in progress. Try again later."
|
||||
GLOB.AdminProcCaller = "CHAT_[sender]" //_ won't show up in ckeys so it'll never match with a real admin
|
||||
var/list/results = world.SDQL2_query(params, GLOB.AdminProcCaller, GLOB.AdminProcCaller)
|
||||
GLOB.AdminProcCaller = null
|
||||
if(!results)
|
||||
return "Query produced no output"
|
||||
var/list/text_res = results.Copy(1, 3)
|
||||
|
||||
Reference in New Issue
Block a user