From 09e63f633cffb245c8dd270d70241b5fedba312e Mon Sep 17 00:00:00 2001 From: Cyberboss Date: Fri, 26 May 2017 16:08:47 -0400 Subject: [PATCH] Another fix --- code/modules/goonchat/browserOutput.dm | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/code/modules/goonchat/browserOutput.dm b/code/modules/goonchat/browserOutput.dm index a70257976a0..06685ee8a4d 100644 --- a/code/modules/goonchat/browserOutput.dm +++ b/code/modules/goonchat/browserOutput.dm @@ -11,6 +11,7 @@ GLOBAL_DATUM_INIT(iconCache, /savefile, new("data/iconCache.sav")) //Cache of ic var/loaded = FALSE // Has the client loaded the browser output area? var/list/messageQueue //If they haven't loaded chat, this is where messages will go until they do var/cookieSent = FALSE // Has the client sent a cookie for analysis + var/broken = FALSE var/list/connectionHistory //Contains the connection history passed from chat cookie /datum/chatOutput/New(client/C) @@ -25,6 +26,7 @@ GLOBAL_DATUM_INIT(iconCache, /savefile, new("data/iconCache.sav")) //Cache of ic if(!winexists(owner, "browseroutput")) // Oh goddamnit. set waitfor = FALSE + broken = TRUE message_admins("Couldn't start chat for [key_name_admin(owner)]!") . = FALSE alert(owner.mob, "Updated chat window does not exist. If you are using a custom skin file please allow the game to update.") @@ -66,7 +68,6 @@ GLOBAL_DATUM_INIT(iconCache, /savefile, new("data/iconCache.sav")) //Cache of ic if(usr.client != owner) return TRUE - var/doLog = TRUE // Build arguments. // Arguments are in the form "param[paramname]=thing" var/list/params = list() @@ -87,14 +88,10 @@ GLOBAL_DATUM_INIT(iconCache, /savefile, new("data/iconCache.sav")) //Cache of ic if("ping") data = ping(arglist(params)) - doLog = FALSE if("analyzeClientData") data = analyzeClientData(arglist(params)) - if(doLog) - debug_log << "[owner.ckey] >> [href]" - if(data) ehjax_send(data = data)