diff options
author | Adam <Adam@anope.org> | 2012-11-23 23:10:41 -0500 |
---|---|---|
committer | Adam <Adam@anope.org> | 2012-11-23 23:10:41 -0500 |
commit | ded89b0d4939c4c1b9bbbb9007cd12286ff077a0 (patch) | |
tree | f1962bc7e4dcd4ebedde23dbd875399bfb0f4932 /src | |
parent | 36b1166cf6efddbc9a9abc8f00ad13bb0d4e56a9 (diff) |
Made IRCDProto a Service
Diffstat (limited to 'src')
-rw-r--r-- | src/module.cpp | 5 | ||||
-rw-r--r-- | src/protocol.cpp | 2 |
2 files changed, 1 insertions, 6 deletions
diff --git a/src/module.cpp b/src/module.cpp index 3c3b8fdd1..e9c130076 100644 --- a/src/module.cpp +++ b/src/module.cpp @@ -85,11 +85,6 @@ void Module::SetAuthor(const Anope::string &nauthor) this->author = nauthor; } -IRCDProto *Module::GetIRCDProto() -{ - return NULL; -} - ModuleVersion::ModuleVersion(int maj, int min, int pa) : version_major(maj), version_minor(min), version_patch(pa) { } diff --git a/src/protocol.cpp b/src/protocol.cpp index d3372731c..315b3955c 100644 --- a/src/protocol.cpp +++ b/src/protocol.cpp @@ -23,7 +23,7 @@ IRCDProto *IRCD = NULL; -IRCDProto::IRCDProto(const Anope::string &p) : proto_name(p) +IRCDProto::IRCDProto(Module *creator, const Anope::string &p) : Service(creator, "IRCDProto", creator->name), proto_name(p) { DefaultPseudoclientModes = "+io"; CanSVSNick = CanSetVHost = CanSetVIdent = CanSNLine = CanSQLine = CanSQLineChannel = CanSZLine = CanSVSHold = |