aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/m_spanningtree
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_spanningtree
parentMake the extban enums 8-bit. (diff)
Format enums with an underlying type like classes.
Diffstat (limited to 'src/modules/m_spanningtree')
-rw-r--r--src/modules/m_spanningtree/main.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/modules/m_spanningtree/main.h b/src/modules/m_spanningtree/main.h
index 4beabf967..c78bdd4e1 100644
--- a/src/modules/m_spanningtree/main.h
+++ b/src/modules/m_spanningtree/main.h
@@ -45,7 +45,8 @@
* If you introduce new protocol versions please document them here:
* https://docs.inspircd.org/spanningtree/changes
*/
-enum ProtocolVersion : uint16_t
+enum ProtocolVersion
+ : uint16_t
{
/** The linking protocol version introduced in InspIRCd v3.0. */
PROTO_INSPIRCD_3 = 1205,