Thread
:
Infractions - The Early Stages
View Single Post
QuantumToast
Member
Join Date: May 2017
Location: US
06-27-2017 , 13:10 Re: Infractions - The Early Stages
#
44
Well, I haven't had much time to work on the plugin, but I have a small optimization-related question:
Would it be more efficient to have a single command hook callback for commands like
sm_kick, sm_ban, sm_mute, etc.
? And then just check for which command was used within the callback? Currently I have a single callback for each command hook, and I was thinking that since you can hook multiple commands to the same callback, would it be more efficient, or just complicate things?
__________________
QuantumToast
View Public Profile
Send a private message to QuantumToast
Find More Posts by QuantumToast