]> git.netwichtig.de Git - user/henk/code/inspircd.git/commitdiff
Remove CMD_EPERM as it is not used anywhere.
authorPeter Powell <petpow@saberuk.com>
Sat, 21 Oct 2017 21:13:15 +0000 (22:13 +0100)
committerPeter Powell <petpow@saberuk.com>
Sat, 21 Oct 2017 21:13:15 +0000 (22:13 +0100)
include/ctables.h

index bc4226ea93b5c7b73165fc748086c25195fd74ec..9376dbbcc4df88a2a4761079b27ad541dec90369 100644 (file)
 
 #pragma once
 
-/** Used to indicate command success codes
- */
+/** Used to indicate the result of trying to execute a command. */
 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_EPERM = 3       /* Command failed because of a permission check */
+       /** The command exists but its execution failed. */
+       CMD_FAILURE = 0,
+
+       /** The command exists and its execution succeeded. */
+       CMD_SUCCESS = 1,
+
+       /* The command does not exist. */
+       CMD_INVALID = 2
 };
 
 /** Flag for commands that are only allowed from servers */