sbpp / sourcebans-pp

Admin, ban, and comms management system for the Source engine
https://sbpp.github.io/
Creative Commons Attribution Share Alike 4.0 International
332 stars 174 forks source link

basecomm.smx is called instead of sbpp_comms.smx when using admin menu. #980

Open Xbye opened 1 month ago

Xbye commented 1 month ago

What are the steps to reproduce this issue?

  1. Type /admin into chat (or whatever you use to open the admin menu).
  2. Go to player commands.
  3. Go to Gag/mute player.
  4. Select a player, and select gag or mute.

What happens?

The player is then gagged for session. Sourcemod logs show basecomm.smx with admin steamid calling the command. The database entry is then "console" instead of the admin, with the reason: Muted through BaseComm natives

image

What were you expecting to happen?

For it to not go through basecomm.smx and through sbpp_comms.smx, and detail the admin responsible for the action.

Any logs, error output, etc.?

Any other comments?

Left 4 Dead 2.

What versions of software are you using?

Operating System: Linux Ubuntu 24.04 (dedicated machine) SourceBans++ Version: 1.8.1 SourceMod Version: 1.11.0.6964 MetaMod Version: 1.11.0-dev+1155

Rushaway commented 1 month ago

The way you muted/gag the player by using player commands is by using basecomm. Sourcecomms++ commands are in /admin -> Comm Commands

So this is the correct reason provided.