From fa55f2bfe90eb8674771f94a510fcc9deda67e10 Mon Sep 17 00:00:00 2001 From: SkyratBot <59378654+SkyratBot@users.noreply.github.com> Date: Wed, 6 Oct 2021 21:38:06 +0200 Subject: [PATCH] [MIRROR] [s] Fixes messages with multiple spaces in a row breaking asay [MDB IGNORE] (#8641) * fixes multiple spaces breaking asay (#61939) * [s] Fixes messages with multiple spaces in a row breaking asay Co-authored-by: Ryll Ryll <3589655+Ryll-Ryll@users.noreply.github.com> --- code/modules/admin/verbs/adminhelp.dm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/code/modules/admin/verbs/adminhelp.dm b/code/modules/admin/verbs/adminhelp.dm index 2787fc1fd12..afb7b00a26c 100644 --- a/code/modules/admin/verbs/adminhelp.dm +++ b/code/modules/admin/verbs/adminhelp.dm @@ -865,6 +865,8 @@ GLOBAL_DATUM_INIT(ahelp_tickets, /datum/admin_help_tickets, new) var/i = 0 for(var/word in msglist) i++ + if(!length(word)) + continue if(word[1] != "@") continue var/ckey_check = lowertext(copytext(word, 2))