diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-09-13 20:07:19 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-09-13 20:07:19 +0000 |
commit | c06d4197afe3830ab6c28d55e8889d1cad36282c (patch) | |
tree | d08b78e59acd7273c4a3d0139e2c7bc64d169fb4 /include/ctables.h | |
parent | 7b3b742d63c33518a9de080f8de3bc1623557a8c (diff) |
Special check in cmd_quit and cmd_kill and special return value CMD_USER_DELETED, to prevent theoretical segfault (this isnt the bug youre trying to find, pip)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5230 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include/ctables.h')
-rw-r--r-- | include/ctables.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/ctables.h b/include/ctables.h index 9adf6c37c..ca2ef074b 100644 --- a/include/ctables.h +++ b/include/ctables.h @@ -32,6 +32,7 @@ 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_USER_DELETED = 3, /* User was deleted! */ }; /** A structure that defines a command |