From 27e8d835059e0931cf85a670878506c4212ad5fb Mon Sep 17 00:00:00 2001 From: PJB3005 Date: Sun, 24 Apr 2016 00:24:43 +0200 Subject: [PATCH] Fix pings in the href logs. (#9593) --- code/modules/client/client procs.dm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/code/modules/client/client procs.dm b/code/modules/client/client procs.dm index 65a9d7b8bd8..cae83a24737 100644 --- a/code/modules/client/client procs.dm +++ b/code/modules/client/client procs.dm @@ -64,6 +64,9 @@ completed_asset_jobs += job return + if(href_list["_src_"] == "chat") // Oh god the ping hrefs. + return chatOutput.Topic(href, href_list) + //Logs all hrefs if(config && config.log_hrefs && investigations[I_HREFS]) var/datum/log_controller/I = investigations[I_HREFS] @@ -74,7 +77,6 @@ if("usr") hsrc = mob if("prefs") return prefs.process_link(usr,href_list) if("vars") return view_var_Topic(href,href_list,hsrc) - if("chat") return chatOutput.Topic(href, href_list) switch(href_list["action"]) if ("openLink")