numbers in names

This commit is contained in:
CapnMachaddish
2020-12-02 17:04:22 -06:00
parent 36d4121e7d
commit cf0865100f
+1 -1
View File
@@ -103,7 +103,7 @@
//Filters out undesirable characters from names
/proc/reject_bad_name(t_in, allow_numbers=0, max_length=MAX_NAME_LEN)
/proc/reject_bad_name(t_in, allow_numbers=1, max_length=MAX_NAME_LEN)
if(!t_in || length(t_in) > max_length)
return //Rejects the input if it is null or if it is longer then the max length allowed