Load whitelist on server start (#9076)

* Load the whitelist on server start

* Update whitelist generator script to handle errors a bit mroe gracefully
This commit is contained in:
Atermonera
2023-03-18 00:43:50 -08:00
committed by GitHub
parent 2cee4d6a57
commit 3f0bddff31
2 changed files with 7 additions and 2 deletions
+1 -1
View File
@@ -35,7 +35,7 @@ var/list/whitelistable = list(
return (ckey in global.whitelists) ? global.whitelists[ckey] : list()
/proc/load_whitelist(var/key)
/proc/load_whitelist()
var/filename = "config/whitelists.json"
try
if(fexists(filename))