mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-23 03:57:48 +01:00
preemptively remove empty strings from bad formatting
This commit is contained in:
@@ -941,6 +941,10 @@
|
||||
raw_list = splittext(html_encode(raw_text), delim)
|
||||
else
|
||||
raw_list = list(raw_text)
|
||||
for(var/i = 1, i <= raw_list.len, i++)
|
||||
if(!raw_list[i].len)
|
||||
raw_list.Cut(i, i + 1)
|
||||
i--
|
||||
if(raw_list.len > 10)
|
||||
raw_list.Cut(11)
|
||||
log_debug("[owner] tried to set [lowertext(name)] with 11+ messages")
|
||||
|
||||
Reference in New Issue
Block a user