Merge pull request #733 from CapnMachaddish/numbers-in-names

Allow putting numbers in names
This commit is contained in:
QuoteFox
2020-12-03 22:24:40 +00:00
committed by GitHub
+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