From 0e7883dd962f16bbac1dd0b4b6a33de3c19ceca1 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Sat, 30 Apr 2022 14:47:39 +0100 Subject: Format enums with an underlying type like classes. --- src/modules/m_knock.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/modules/m_knock.cpp') 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, -- cgit v1.3.1-10-gc9f91