diff options
Diffstat (limited to 'src/defines.h')
-rw-r--r-- | src/defines.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/defines.h b/src/defines.h index 1fe9f1bc..9c3829c0 100644 --- a/src/defines.h +++ b/src/defines.h @@ -30,7 +30,7 @@ /** * Exit value codes are thrown back at servers exit to reflect their exit state. */ -enum exitValue +enum ExitValue { EXIT_NORMAL = 0, EXIT_CONFIG_NOT_FOUND, // The main configuration file wasn't found. @@ -51,7 +51,7 @@ enum exitValue * A gm would have permissions of 11 (AL_PLAYER | AL_TESTER | AL_GM) * A admin would have permissions of 255 (*) */ -enum accessLevel +enum AccessLevel { AL_BANNED = 0, /**< This user is currently banned. */ AL_PLAYER = 1, /**< User has regular rights. */ @@ -62,14 +62,14 @@ enum accessLevel }; /** - * Guild member permissions - * Members with NONE cannot invite users or set permissions - * Members with TOPIC_CHANGE can change the guild channel topic - * Members with INVITE can invite other users - * Memeber with KICK can remove other users - * Members with OWNER can invite users and set permissions - */ -enum guildAccessLevel + * Guild member permissions + * Members with NONE cannot invite users or set permissions + * Members with TOPIC_CHANGE can change the guild channel topic + * Members with INVITE can invite other users + * Memeber with KICK can remove other users + * Members with OWNER can invite users and set permissions + */ +enum GuildAccessLevel { GAL_NONE = 0, GAL_TOPIC_CHANGE = 1, |