diff --git a/code/modules/admin/sql_ban_system.dm b/code/modules/admin/sql_ban_system.dm index 3c26e11c86c3b..e5d5c0d93ce2d 100644 --- a/code/modules/admin/sql_ban_system.dm +++ b/code/modules/admin/sql_ban_system.dm @@ -457,7 +457,7 @@ reason = href_list["reason"] if(!reason) error_state += "No reason was provided." - if(length(reason) > MAX_REASON_LENGTH) + if(length_char(reason) > MAX_REASON_LENGTH) error_state += "Reason cannot be more than [MAX_REASON_LENGTH] characters." if(href_list["editid"]) edit_id = href_list["editid"]