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:
+3
-7
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user