Moves many uses of log_to_dd to log_runtime, to make the output

more visible at runtime, to someone who isn't watching DD first-hand
This commit is contained in:
Crazylemon64
2016-08-24 09:55:19 -07:00
parent 4ee7254e0f
commit 16dd4e9d21
22 changed files with 23 additions and 21 deletions
+1
View File
@@ -56,6 +56,7 @@
//search the href for script injection
if( findtext(href,"<script",1,0) )
log_to_dd("Attempted use of scripts within a topic call, by [src]")
log_runtime(EXCEPTION("Attempted use of scripts within a topic call, by [src]"), src)
message_admins("Attempted use of scripts within a topic call, by [src]")
return
@@ -61,7 +61,7 @@
// Might as well scrub out any malformed be_special list entries while we're here
for(var/role in be_special)
if(!(role in special_roles))
log_to_dd("[C.key] had a malformed role entry: '[role]'. Removing!")
log_runtime(EXCEPTION("[C.key] had a malformed role entry: '[role]'. Removing!"), src)
be_special -= role
var/DBQuery/query = dbcon.NewQuery({"UPDATE [format_table_name("player")]