Raised This Month: $ Target: $400
 0% 

Why doesn't Plugin_Handled block sm_cvar?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
jakeisajerk
New Member
Join Date: Jun 2012
Old 06-14-2012 , 09:33   Why doesn't Plugin_Handled block sm_cvar?
Reply With Quote #1

I have been trying to get an old plugin working. It is meant to prevent people with the ability to read cvars from stealing the rcon password. A function to check the command is called when someone does sm_rcon. This is done with AddCommandListener. The function gets tripped when someone tries to get the password and returns "Plugin_Handled". For some reason this doesn't stop the execution of the command and the rcon password is still delivered to the client. Is there an alternative way of blocking commands?

Thanks.
jakeisajerk is offline
 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 06:07.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode