Skip to content

Comments

fix(psay): block command usage from server console#73

Merged
Rushaway merged 1 commit intosrcdslab:masterfrom
Rushaway:fix801
Feb 9, 2026
Merged

fix(psay): block command usage from server console#73
Rushaway merged 1 commit intosrcdslab:masterfrom
Rushaway:fix801

Conversation

@Rushaway
Copy link
Member

@Rushaway Rushaway commented Feb 9, 2026

No description provided.

Copilot AI review requested due to automatic review settings February 9, 2026 18:30
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR prevents the sm_psay admin command from being executed via the server console (client index 0), aligning it with other command handlers in the plugin that reject console usage.

Changes:

  • Bump ccc.inc patch version from 8.0.0 to 8.0.1.
  • Add an early-return guard in Command_SmPsay to block usage from server console and print an explanatory message.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
addons/sourcemod/scripting/include/ccc.inc Patch version bump to reflect the fix release.
addons/sourcemod/scripting/CustomChatColors.sp Adds a client == 0 guard in sm_psay to prevent console invocation.

@Rushaway Rushaway merged commit 63f4885 into srcdslab:master Feb 9, 2026
9 checks passed
@Rushaway Rushaway deleted the fix801 branch February 9, 2026 18:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant