Logging configuration

This commit is contained in:
AffectedArc07
2021-05-03 20:54:36 +01:00
parent 445726812e
commit bf93b5bf6f
11 changed files with 87 additions and 92 deletions
+1 -1
View File
@@ -43,7 +43,7 @@
watchlist_show()
if("hrefs") //persistant logs and stuff
if(config && config.log_hrefs)
if(GLOB.configuration.logging.href_logging)
if(GLOB.world_href_log)
src << browse(file(GLOB.world_href_log), "window=investigate[subject];size=800x300")
else
+3 -3
View File
@@ -759,11 +759,11 @@ GLOBAL_LIST_INIT(admin_verbs_ticket, list(
return
if(config)
if(config.log_hrefs)
config.log_hrefs = 0
if(GLOB.configuration.logging.href_logging)
GLOB.configuration.logging.href_logging = FALSE
to_chat(src, "<b>Stopped logging hrefs</b>")
else
config.log_hrefs = 1
GLOB.configuration.logging.href_logging = TRUE
to_chat(src, "<b>Started logging hrefs</b>")
/client/proc/check_ai_laws()