summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2024-02-21 13:55:48 +0000
committerSadie Powell <sadie@witchery.services>2024-02-21 13:55:48 +0000
commit07373c8cf2325d6e3b6c9d91acbc8abbf51db51e (patch)
tree58f1b71e62e537559e41a0afe51b5c512b708020 /src
parent89594d455718432a24930a7cf97c26daaaf49472 (diff)
Move IRCDProto member initializers to the header.
Diffstat (limited to 'src')
-rw-r--r--src/protocol.cpp10
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;
}