Adds LDAP but for 2d spessmen (#9527)

This commit is contained in:
Erki
2020-08-10 13:56:39 +02:00
committed by GitHub
parent e717274903
commit 7097912fd1
20 changed files with 598 additions and 415 deletions
+11 -1
View File
@@ -306,9 +306,12 @@ var/list/gamemode_cache = list()
var/forum_api_path
// global.forum_api_key - see modules/http/forum_api.dm
var/news_use_forum_api = FALSE
var/forumuser_api_url
var/use_forumuser_api = FALSE
// global.forumuser_api_key - see modules/http/forumuser_api.dm
var/profiler_is_enabled = FALSE
var/profiler_restart_period = 120 SECONDS
var/profiler_timeout_threshold = 5 SECONDS
@@ -947,6 +950,13 @@ var/list/gamemode_cache = list()
if ("profiler_timeout_threshold")
profiler_timeout_threshold = text2num(value)
if ("forumuser_api_url")
forumuser_api_url = value
if ("use_forumuser_api")
use_forumuser_api = TRUE
if ("forumuser_api_key")
global.forumuser_api_key = value
else
log_misc("Unknown setting in configuration: '[name]'")
@@ -864,6 +864,5 @@
SearchVar(mark)
SearchVar(contamination_overlay)
SearchVar(vsc)
SearchVar(global_player_panel)
#endif
@@ -36,6 +36,10 @@
populate_code_phrases()
if (config.use_forumuser_api)
update_admins_from_api(TRUE)
..(timeofday)
/proc/sorted_add_area(area/A)