diff options
author | peavey <peavey@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-01-07 01:24:44 +0000 |
---|---|---|
committer | peavey <peavey@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-01-07 01:24:44 +0000 |
commit | b2f3ac116127f93cd798c54e3e42500b40af256d (patch) | |
tree | 6fca6b6ac08fbe1539163559c400268ff74c4174 /include/ctables.h | |
parent | 85bb016bd18c381561212d8815cfe46f47d3ed53 (diff) |
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
Diffstat (limited to 'include/ctables.h')
-rw-r--r-- | include/ctables.h | 5 |
1 files changed, 5 insertions, 0 deletions
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<classbase*> ¶ms) + { + return CMD_INVALID; + } + virtual CmdResult HandleServer(const char** parameters, int pcnt, const std::string &servername) { return CMD_INVALID; |