aboutsummaryrefslogtreecommitdiffstats
path: root/include/modules
diff options
context:
space:
mode:
authorGravatar Sadie Powell2022-04-29 22:07:42 +0100
committerGravatar Sadie Powell2022-04-29 22:07:42 +0100
commit0e660314c3053e044932e306c12e7d653e5293ef (patch)
tree5fd2b00434aa32899d47734d8220b075e14626a1 /include/modules
parentMerge branch 'insp3' into master. (diff)
Make the extban enums 8-bit.
Diffstat (limited to 'include/modules')
-rw-r--r--include/modules/extban.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/modules/extban.h b/include/modules/extban.h
index 8475b6df2..8f3268371 100644
--- a/include/modules/extban.h
+++ b/include/modules/extban.h
@@ -28,7 +28,9 @@ namespace ExtBan
class Manager;
class ManagerRef;
+ /** All possible extban formats. */
enum class Format
+ : uint8_t
{
/** Do not perform any normalisation of extbans. */
ANY,
@@ -42,6 +44,7 @@ namespace ExtBan
/** All possible types of extban. */
enum class Type
+ : uint8_t
{
/** The extban takes action against specific behaviour (e.g. nokicks). */
ACTING,