diff --git a/addons/sourcemod/scripting/shavit-chat.sp b/addons/sourcemod/scripting/shavit-chat.sp index be6e4523..5affd318 100644 --- a/addons/sourcemod/scripting/shavit-chat.sp +++ b/addons/sourcemod/scripting/shavit-chat.sp @@ -363,6 +363,7 @@ public Action CP_OnChatMessage(int &author, ArrayList recipients, char[] flagstr // proper colors with rtler if(gB_RTLer && RTLify(sTemp, MAXLENGTH_MESSAGE, message) > 0) { + TrimString(message); Format(message, MAXLENGTH_MESSAGE, "%s%s", message, gS_CustomMessage[author]); }