From 07373c8cf2325d6e3b6c9d91acbc8abbf51db51e Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Wed, 21 Feb 2024 13:55:48 +0000 Subject: Move IRCDProto member initializers to the header. --- src/protocol.cpp | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'src') diff --git a/src/protocol.cpp b/src/protocol.cpp index 37028ca39..87efc7894 100644 --- a/src/protocol.cpp +++ b/src/protocol.cpp @@ -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; } -- cgit