mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-12 03:02:54 +00:00
Disables export chat logs until we can get it fixed
This commit is contained in:
@@ -455,7 +455,7 @@ client/verb/character_setup()
|
|||||||
alert(src, "You can only try to reload VChat every 10 seconds at most.")
|
alert(src, "You can only try to reload VChat every 10 seconds at most.")
|
||||||
return
|
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, disable
|
||||||
log_debug("[key_name(src)] reloaded VChat.")
|
log_debug("[key_name(src)] reloaded VChat.")
|
||||||
|
|||||||
@@ -137,7 +137,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<button class="ui button" @click="save_chatlog">Export Chatlog</button>
|
<!-- <button class="ui button" @click="save_chatlog">Export Chatlog</button> YW EDIT: disabled until we can fix the lag -->
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -133,7 +133,7 @@ GLOBAL_DATUM_INIT(iconCache, /savefile, new("data/iconCache.sav")) //Cache of ic
|
|||||||
send_playerinfo()
|
send_playerinfo()
|
||||||
load_database()
|
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
|
//Perform DB shenanigans
|
||||||
/datum/chatOutput/proc/load_database()
|
/datum/chatOutput/proc/load_database()
|
||||||
@@ -379,6 +379,7 @@ var/to_chat_src
|
|||||||
var/list/tojson = list("time" = time, "message" = message);
|
var/list/tojson = list("time" = time, "message" = message);
|
||||||
target << output(jsEncode(tojson), "htmloutput:putmessage")
|
target << output(jsEncode(tojson), "htmloutput:putmessage")
|
||||||
|
|
||||||
|
/* YW EDIT: disabled until we can fix the lag
|
||||||
/client/proc/vchat_export_log()
|
/client/proc/vchat_export_log()
|
||||||
set name = "Export chatlog"
|
set name = "Export chatlog"
|
||||||
set category = "OOC"
|
set category = "OOC"
|
||||||
@@ -419,3 +420,4 @@ var/to_chat_src
|
|||||||
spawn(1 MINUTE)
|
spawn(1 MINUTE)
|
||||||
if(!fdel(o_file))
|
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.")
|
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.")
|
||||||
|
*/
|
||||||
Reference in New Issue
Block a user