Merge pull request #11985 from Tayyyyyyy/admin_pencode

Add admin pencode: style, class, and img
This commit is contained in:
Fox McCloud
2019-08-14 22:22:34 -04:00
committed by GitHub
5 changed files with 44 additions and 4 deletions
+1 -1
View File
@@ -110,7 +110,7 @@
if(!msg)
return
else
msg = pencode_to_html(msg)
msg = admin_pencode_to_html(msg)
var/recieve_span = "playerreply"
var/send_pm_type = " "
+4 -1
View File
@@ -58,6 +58,9 @@
if(!msg)
return
msg = admin_pencode_to_html(msg)
if(usr)
if(usr.client)
if(usr.client.holder)
@@ -136,7 +139,7 @@
if( !msg )
return
msg = pencode_to_html(msg)
msg = admin_pencode_to_html(msg)
to_chat(M, msg)
log_admin("DirectNarrate: [key_name(usr)] to ([key_name(M)]): [msg]")