mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-28 07:20:09 +01:00
Adds LDAP but for 2d spessmen (#9527)
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user