From c4e58b4f28519e65b03180de1e6faadbcb4f9b83 Mon Sep 17 00:00:00 2001 From: izac112 Date: Sun, 19 Jul 2020 14:18:45 +0200 Subject: [PATCH] Disables export chat logs until we can get it fixed --- code/modules/client/client procs.dm | 2 +- code/modules/vchat/html/vchat.html | 2 +- code/modules/vchat/vchat_client.dm | 6 ++++-- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/code/modules/client/client procs.dm b/code/modules/client/client procs.dm index 82d68d7a47..5bbc7f9b80 100644 --- a/code/modules/client/client procs.dm +++ b/code/modules/client/client procs.dm @@ -455,7 +455,7 @@ client/verb/character_setup() alert(src, "You can only try to reload VChat every 10 seconds at most.") return - verbs -= /client/proc/vchat_export_log + // YW EDIT: disabled until we can fix the lag: verbs -= /client/proc/vchat_export_log //Log, disable log_debug("[key_name(src)] reloaded VChat.") diff --git a/code/modules/vchat/html/vchat.html b/code/modules/vchat/html/vchat.html index a3612d78e4..f11fcb974e 100644 --- a/code/modules/vchat/html/vchat.html +++ b/code/modules/vchat/html/vchat.html @@ -137,7 +137,7 @@ - + diff --git a/code/modules/vchat/vchat_client.dm b/code/modules/vchat/vchat_client.dm index 25486ac554..35d07bad25 100644 --- a/code/modules/vchat/vchat_client.dm +++ b/code/modules/vchat/vchat_client.dm @@ -133,7 +133,7 @@ GLOBAL_DATUM_INIT(iconCache, /savefile, new("data/iconCache.sav")) //Cache of ic send_playerinfo() load_database() - owner.verbs += /client/proc/vchat_export_log + //YW EDIT: disabled until we can fix the lag: owner.verbs += /client/proc/vchat_export_log //Perform DB shenanigans /datum/chatOutput/proc/load_database() @@ -379,6 +379,7 @@ var/to_chat_src var/list/tojson = list("time" = time, "message" = message); target << output(jsEncode(tojson), "htmloutput:putmessage") +/* YW EDIT: disabled until we can fix the lag /client/proc/vchat_export_log() set name = "Export chatlog" set category = "OOC" @@ -418,4 +419,5 @@ var/to_chat_src if(!fdel(o_file)) spawn(1 MINUTE) if(!fdel(o_file)) - log_debug("Warning: [ckey]'s chatlog could not be deleted one minute after file transfer was initiated. It is located at 'data/chatlog_tmp/[ckey]_chat_log' and will need to be manually removed.") \ No newline at end of file + log_debug("Warning: [ckey]'s chatlog could not be deleted one minute after file transfer was initiated. It is located at 'data/chatlog_tmp/[ckey]_chat_log' and will need to be manually removed.") +*/ \ No newline at end of file