diff options
Diffstat (limited to 'include/ctables.h')
-rw-r--r-- | include/ctables.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/ctables.h b/include/ctables.h index ba6773a4c..8ca08d9e4 100644 --- a/include/ctables.h +++ b/include/ctables.h @@ -59,7 +59,7 @@ class CoreExport Command : public Extensible char flags_needed; /** Minimum number of parameters command takes */ - int min_params; + unsigned int min_params; /** used by /stats m */ long double use_count; @@ -113,7 +113,7 @@ class CoreExport Command : public Extensible * If the command succeeds but should remain local to this server, * return CMD_LOCALONLY. */ - virtual CmdResult Handle(const char* const* parameters, int pcnt, User* user) = 0; + virtual CmdResult Handle(const std::vector<std::string>& parameters, User* user) = 0; /** Handle an internal request from another command, the core, or a module * @param Command ID |