summaryrefslogtreecommitdiff
path: root/modules/protocol/plexus.cpp
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2024-01-23 15:28:23 +0000
committerSadie Powell <sadie@witchery.services>2024-01-23 15:28:23 +0000
commita6a0f6c44780c839b2269f4f29a26ecfdbd95544 (patch)
treed4d1fded5c14350eb003a665ca8de500a0440cea /modules/protocol/plexus.cpp
parent398d674cf40c0dba4e4cd2edd0f325ace15128c2 (diff)
Improve the layout of types that inherit from another type.
Diffstat (limited to 'modules/protocol/plexus.cpp')
-rw-r--r--modules/protocol/plexus.cpp18
1 files changed, 12 insertions, 6 deletions
diff --git a/modules/protocol/plexus.cpp b/modules/protocol/plexus.cpp
index 8eedc2445..eb98f8f9c 100644
--- a/modules/protocol/plexus.cpp
+++ b/modules/protocol/plexus.cpp
@@ -16,7 +16,8 @@ static Anope::string UplinkSID;
static ServiceReference<IRCDProto> hybrid("IRCDProto", "hybrid");
-class PlexusProto : public IRCDProto
+class PlexusProto
+ : public IRCDProto
{
public:
PlexusProto(Module *creator) : IRCDProto(creator, "hybrid-7.2.3+plexus-3.0.1")
@@ -187,7 +188,8 @@ public:
}
};
-struct IRCDMessageEncap : IRCDMessage
+struct IRCDMessageEncap
+ : IRCDMessage
{
IRCDMessageEncap(Module *creator) : IRCDMessage(creator, "ENCAP", 4) { SetFlag(IRCDMESSAGE_REQUIRE_SERVER); SetFlag(IRCDMESSAGE_SOFT_LIMIT); }
@@ -243,7 +245,8 @@ struct IRCDMessageEncap : IRCDMessage
}
};
-struct IRCDMessagePass : IRCDMessage
+struct IRCDMessagePass
+ : IRCDMessage
{
IRCDMessagePass(Module *creator) : IRCDMessage(creator, "PASS", 4) { SetFlag(IRCDMESSAGE_REQUIRE_SERVER); }
@@ -253,7 +256,8 @@ struct IRCDMessagePass : IRCDMessage
}
};
-struct IRCDMessageServer : IRCDMessage
+struct IRCDMessageServer
+ : IRCDMessage
{
IRCDMessageServer(Module *creator) : IRCDMessage(creator, "SERVER", 3) { SetFlag(IRCDMESSAGE_REQUIRE_SERVER); }
@@ -269,7 +273,8 @@ struct IRCDMessageServer : IRCDMessage
}
};
-struct IRCDMessageUID : IRCDMessage
+struct IRCDMessageUID
+ : IRCDMessage
{
IRCDMessageUID(Module *creator) : IRCDMessage(creator, "UID", 11) { SetFlag(IRCDMESSAGE_REQUIRE_SERVER); }
@@ -318,7 +323,8 @@ struct IRCDMessageUID : IRCDMessage
}
};
-class ProtoPlexus : public Module
+class ProtoPlexus
+ : public Module
{
Module *m_hybrid;