diff --git a/code/modules/admin/sql_ban_system.dm b/code/modules/admin/sql_ban_system.dm index d3693064a2bc5be..742778d5a4a9da8 100644 --- a/code/modules/admin/sql_ban_system.dm +++ b/code/modules/admin/sql_ban_system.dm @@ -472,7 +472,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"]