]> git.netwichtig.de Git - user/henk/code/inspircd.git/commitdiff
add internal cmdhandler that will make it easy to move stuff out of core and into...
authorpeavey <peavey@e03df62e-2008-0410-955e-edbf42e46eb7>
Sun, 7 Jan 2007 01:24:44 +0000 (01:24 +0000)
committerpeavey <peavey@e03df62e-2008-0410-955e-edbf42e46eb7>
Sun, 7 Jan 2007 01:24:44 +0000 (01:24 +0000)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6241 e03df62e-2008-0410-955e-edbf42e46eb7

include/ctables.h

index b8d9c03faaaeb0a33337d257df4882802d280591..7d1173307b563f632c2c97adf732f80accdaf90b 100644 (file)
@@ -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<classbase*> &params)
+       {
+               return CMD_INVALID;
+       }
+
        virtual CmdResult HandleServer(const char** parameters, int pcnt, const std::string &servername)
        {
                return CMD_INVALID;