Adds new adminhelp sound, fixes adminhelp sanitize, readds admin PM sounds for non-admins.

This commit is contained in:
Ren Erthilo
2012-04-23 01:21:35 +01:00
parent d482d02a79
commit df2fa28a95
3 changed files with 3 additions and 1 deletions
+2
View File
@@ -27,6 +27,8 @@
src << "<font color='blue'>PM to-<b>Admins</b>: [msg]</font>"
log_admin("HELP: [key_name(src)]: [msg]")
var/list/replacechars = list("'" = "","\"" = "",">" = "","<" = "","(" = "",")" = "")
msg = sanitize_simple(msg, replacechars)
if(tension_master)
tension_master.new_adminhelp()
send2adminirc("#bs12admin","HELP: \"[src.key]: [msg]\"")