diff options
| author | 2022-04-30 14:47:39 +0100 | |
|---|---|---|
| committer | 2022-04-30 14:47:39 +0100 | |
| commit | 0e7883dd962f16bbac1dd0b4b6a33de3c19ceca1 (patch) | |
| tree | 920e48fe77edffaa8fa6143ac921e5f08daf2eeb /src/modules/m_knock.cpp | |
| parent | Make 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.cpp | 3 |
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, |
