From 0e660314c3053e044932e306c12e7d653e5293ef Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Fri, 29 Apr 2022 22:07:42 +0100 Subject: Make the extban enums 8-bit. --- include/modules/extban.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include') 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, -- cgit v1.3.1-10-gc9f91