1
0
mirror of https://github.com/anope/anope.git synced 2026-06-27 19:46:38 +02:00

Improve the layout of types that inherit from another type.

This commit is contained in:
Sadie Powell
2024-01-23 15:28:23 +00:00
parent 398d674cf4
commit a6a0f6c447
232 changed files with 1648 additions and 798 deletions
+12 -6
View File
@@ -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;