1
0
mirror of https://github.com/anope/anope.git synced 2026-06-28 21:56:37 +02:00

Move IRCDProto member initializers to the header.

This commit is contained in:
Sadie Powell
2024-02-21 13:55:48 +00:00
parent 89594d4557
commit 07373c8cf2
2 changed files with 37 additions and 24 deletions
+3 -7
View File
@@ -21,14 +21,10 @@
IRCDProto *IRCD = NULL;
IRCDProto::IRCDProto(Module *creator, const Anope::string &p) : Service(creator, "IRCDProto", creator->name), proto_name(p)
IRCDProto::IRCDProto(Module *creator, const Anope::string &p)
: Service(creator, "IRCDProto", creator->name)
, proto_name(p)
{
DefaultPseudoclientModes = "+io";
CanSVSNick = CanSVSJoin = CanSetVHost = CanSetVIdent = CanSNLine = CanSQLine = CanSQLineChannel
= CanSZLine = CanSVSHold = CanCertFP = CanSendTags = CanSVSLogout = RequiresID = AmbiguousID = false;
MaxModes = 3;
MaxLine = 512;
if (IRCD == NULL)
IRCD = this;
}