diff options
| author | 2022-04-29 22:07:42 +0100 | |
|---|---|---|
| committer | 2022-04-29 22:07:42 +0100 | |
| commit | 0e660314c3053e044932e306c12e7d653e5293ef (patch) | |
| tree | 5fd2b00434aa32899d47734d8220b075e14626a1 /include | |
| parent | Merge branch 'insp3' into master. (diff) | |
Make the extban enums 8-bit.
Diffstat (limited to 'include')
| -rw-r--r-- | include/modules/extban.h | 3 |
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, |
