minor command refactor

This commit is contained in:
2020-10-02 19:20:59 -05:00
parent 316239dadc
commit a852c26e5e
2 changed files with 7 additions and 7 deletions

View File

@@ -4,7 +4,7 @@
#define CMD_PREFIX '/'
typedef void (*CommandHandler)(std::string fullString, std::vector<std::string> args, CNSocket* sock);
typedef void (*CommandHandler)(std::string fullString, std::vector<std::string>& args, CNSocket* sock);
struct ChatCommand {
int requiredAccLevel;