summaryrefslogtreecommitdiff
path: root/include/ctables.h
diff options
context:
space:
mode:
authordanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2010-01-18 23:49:23 +0000
committerdanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2010-01-18 23:49:23 +0000
commitdce58b1611e275118d418bfb3b4402bd14d279dd (patch)
treee0c036dd49d629b7add3f079c17851198270f404 /include/ctables.h
parent98f2ecb01456dcb9b47bd0c89e88cd49d6d5205d (diff)
Move lots of spanningtree items to commands
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12296 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include/ctables.h')
-rw-r--r--include/ctables.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/ctables.h b/include/ctables.h
index badcd1fde..9c2a6181c 100644
--- a/include/ctables.h
+++ b/include/ctables.h
@@ -20,9 +20,13 @@ enum CmdResult
{
CMD_FAILURE = 0, /* Command exists, but failed */
CMD_SUCCESS = 1, /* Command exists, and succeeded */
- CMD_INVALID = 2 /* Command doesnt exist at all! */
+ CMD_INVALID = 2, /* Command doesnt exist at all! */
+ CMD_EPERM = 3 /* Command failed because of a permission check */
};
+/** Flag for commands that are only allowed from servers */
+const char FLAG_SERVERONLY = 7; // technically anything nonzero below 'A' works
+
/** Translation types for translation of parameters to UIDs.
* This allows the core commands to not have to be aware of how UIDs
* work (making it still possible to write other linking modules which