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 /include | |
| parent | 36b1166cf6efddbc9a9abc8f00ad13bb0d4e56a9 (diff) | |
Made IRCDProto a Service
Diffstat (limited to 'include')
| -rw-r--r-- | include/modules.h | 4 | ||||
| -rw-r--r-- | include/protocol.h | 4 |
2 files changed, 2 insertions, 6 deletions
diff --git a/include/modules.h b/include/modules.h index bbdfc5659..09df6617e 100644 --- a/include/modules.h +++ b/include/modules.h @@ -256,10 +256,6 @@ class CoreExport Module : public Extensible */ ModuleVersion GetVersion() const; - /** Gets the IRCd protocol published by this module - */ - virtual IRCDProto *GetIRCDProto(); - /* Everything below here are events. Modules must ModuleManager::Attach to these events * before they will be called. */ diff --git a/include/protocol.h b/include/protocol.h index 65b31680f..7d86693bc 100644 --- a/include/protocol.h +++ b/include/protocol.h @@ -18,12 +18,12 @@ #include "service.h" /* Encapsultes the IRCd protocol we are speaking. */ -class CoreExport IRCDProto +class CoreExport IRCDProto : public Service { Anope::string proto_name; protected: - IRCDProto(const Anope::string &proto_name); + IRCDProto(Module *creator, const Anope::string &proto_name); public: virtual ~IRCDProto(); |
