summaryrefslogtreecommitdiff
path: root/include/ctables.h
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2008-05-04 21:41:09 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2008-05-04 21:41:09 +0000
commit71eb82a9807d96139ef56c5a5be7653507e89aa9 (patch)
tree1e8bd13339aac1a8d816e20d3cbeb93e77e37add /include/ctables.h
parentffbd1eebf0b82bf40482879f410f58874030a695 (diff)
Fix unused HandleServer to use new system too, and update comments to match api
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9609 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include/ctables.h')
-rw-r--r--include/ctables.h4
1 files changed, 1 insertions, 3 deletions
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;
}