Name muting (#15647)

This commit is contained in:
SabreML
2021-03-02 11:34:45 +00:00
committed by GitHub
parent 7be1416ef0
commit 8828fb59a6
+1 -1
View File
@@ -307,7 +307,7 @@
if("add_filter")
// This is a stripped input because I did NOT come this far for this system to be abused by HTML injection
var/name_to_add = stripped_input(usr, "Enter a name to add to the filtering list", "Name Entry")
var/name_to_add = html_decode(stripped_input(usr, "Enter a name to add to the filtering list", "Name Entry"))
if(name_to_add == "")
return
if(name_to_add in nttc.filtering)