From b2f3ac116127f93cd798c54e3e42500b40af256d Mon Sep 17 00:00:00 2001 From: peavey Date: Sun, 7 Jan 2007 01:24:44 +0000 Subject: add internal cmdhandler that will make it easy to move stuff out of core and into a reloadable command. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6241 e03df62e-2008-0410-955e-edbf42e46eb7 --- include/ctables.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'include/ctables.h') diff --git a/include/ctables.h b/include/ctables.h index b8d9c03fa..7d1173307 100644 --- a/include/ctables.h +++ b/include/ctables.h @@ -86,6 +86,11 @@ class command_t : public Extensible virtual CmdResult Handle(const char** parameters, int pcnt, userrec* user) = 0; + virtual CmdResult HandleInternal(const unsigned int id, const std::deque ¶ms) + { + return CMD_INVALID; + } + virtual CmdResult HandleServer(const char** parameters, int pcnt, const std::string &servername) { return CMD_INVALID; -- cgit v1.2.3