From: peavey Date: Sun, 7 Jan 2007 01:24:44 +0000 (+0000) Subject: add internal cmdhandler that will make it easy to move stuff out of core and into... X-Git-Tag: v2.0.23~6145 X-Git-Url: https://git.netwichtig.de/gitweb/?a=commitdiff_plain;h=b2f3ac116127f93cd798c54e3e42500b40af256d;p=user%2Fhenk%2Fcode%2Finspircd.git 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 --- 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;