aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_knock.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2022-04-30 14:47:39 +0100
committerGravatar Sadie Powell2022-04-30 14:47:39 +0100
commit0e7883dd962f16bbac1dd0b4b6a33de3c19ceca1 (patch)
tree920e48fe77edffaa8fa6143ac921e5f08daf2eeb /src/modules/m_knock.cpp
parentMake the extban enums 8-bit. (diff)
Format enums with an underlying type like classes.
Diffstat (limited to 'src/modules/m_knock.cpp')
-rw-r--r--src/modules/m_knock.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/modules/m_knock.cpp b/src/modules/m_knock.cpp
index 0e347e078..a24019cd8 100644
--- a/src/modules/m_knock.cpp
+++ b/src/modules/m_knock.cpp
@@ -41,7 +41,8 @@ enum
};
// Actions which can be taken when a user knocks on a channel.
-enum KnockNotify : uint8_t
+enum KnockNotify
+ : uint8_t
{
// Send a notice when a user knocks on a channel.
KN_SEND_NOTICE = 1,