diff options
author | Sadie Powell <sadie@witchery.services> | 2024-02-21 13:55:48 +0000 |
---|---|---|
committer | Sadie Powell <sadie@witchery.services> | 2024-02-21 13:55:48 +0000 |
commit | 07373c8cf2325d6e3b6c9d91acbc8abbf51db51e (patch) | |
tree | 58f1b71e62e537559e41a0afe51b5c512b708020 /src | |
parent | 89594d455718432a24930a7cf97c26daaaf49472 (diff) |
Move IRCDProto member initializers to the header.
Diffstat (limited to 'src')
-rw-r--r-- | src/protocol.cpp | 10 |
1 files changed, 3 insertions, 7 deletions
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; } |