Removes chat pings from href logs

This commit is contained in:
CitadelStationBot
2017-08-13 01:26:46 -05:00
parent f615bc0dff
commit 501972a2f8
2 changed files with 13 additions and 2 deletions

View File

@@ -72,8 +72,9 @@
to_chat(src, "<span class='danger'>Your previous action was ignored because you've done too many in a second</span>")
return
//Logs all hrefs
GLOB.world_href_log << "<small>[time_stamp(show_ds = TRUE)] [src] (usr:[usr])</small> || [hsrc ? "[hsrc] " : ""][href]<br>"
//Logs all hrefs, except chat pings
if(href_list["proc"] != "ping")
GLOB.world_href_log << "<small>[time_stamp(show_ds = TRUE)] [src] (usr:[usr])</small> || [hsrc ? "[hsrc] " : ""][href]<br>"
// Admin PM
if(href_list["priv_msg"])