Skip to content

Commit

Permalink
Add StripQuotes to Say_Callback for improved message processing
Browse files Browse the repository at this point in the history
  • Loading branch information
altair-sossai committed Nov 12, 2024
1 parent 01e7c2e commit 2914b8f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 0 deletions.
Binary file modified addons/sourcemod/plugins/optional/l4d2_gameinfo_sync.smx
Binary file not shown.
1 change: 1 addition & 0 deletions addons/sourcemod/scripting/l4d2_gameinfo_sync.sp
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ Action Say_Callback(int client, char[] command, int args)

char message[MAX_MESSAGE_LENGTH];
GetCmdArgString(message, sizeof(message));
StripQuotes(message);

if (strlen(message) == 0 || message[0] == '!' || message[0] == '/')
return Plugin_Continue;
Expand Down

0 comments on commit 2914b8f

Please sign in to comment.