diff options
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(); |
