summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/command_parse.h3
-rw-r--r--include/ctables.h4
2 files changed, 2 insertions, 5 deletions
diff --git a/include/command_parse.h b/include/command_parse.h
index a8a14497e..be980a4cb 100644
--- a/include/command_parse.h
+++ b/include/command_parse.h
@@ -93,8 +93,7 @@ class CoreExport CommandParser : public classbase
/** Calls the handler for a given command.
* @param commandname The command to find. This should be in uppercase.
- * @param parameters Parameter list as an array of array of char (that's not a typo).
- * @param pcnt The number of items in the parameters list
+ * @param parameters Parameter list
* @param user The user to call the handler on behalf of
* @return This method will return CMD_SUCCESS if the command handler was found and called,
* and the command completeld successfully. It will return CMD_FAILURE if the command handler was found
diff --git a/include/ctables.h b/include/ctables.h
index 8ca08d9e4..d9f660f71 100644
--- a/include/ctables.h
+++ b/include/ctables.h
@@ -107,7 +107,6 @@ class CoreExport Command : public Extensible
/** Handle the command from a user.
* @param parameters The parameters for the command.
- * @param pcnt The number of parameters available in 'parameters'
* @param user The user who issued the command.
* @return Return CMD_SUCCESS on success, or CMD_FAILURE on failure.
* If the command succeeds but should remain local to this server,
@@ -130,13 +129,12 @@ class CoreExport Command : public Extensible
/** Handle the command from a server.
* Not currently used in this version of InspIRCd.
* @param parameters The parameters given
- * @param pcnt The number of parameters available
* @param servername The server name which issued the command
* @return Return CMD_SUCCESS on success, or CMD_FAILURE on failure.
* If the command succeeds but should remain local to this server,
* return CMD_LOCALONLY.
*/
- virtual CmdResult HandleServer(const char* const* /* parameters */, int /* pcnt */, const std::string& /* servername */)
+ virtual CmdResult HandleServer(const std::vector<std::string>& /* parameters */, const std::string& /* servername */)
{
return CMD_INVALID;
}