mirror of
https://github.com/anope/anope.git
synced 2026-07-07 13:23:12 +02:00
Made IRCDProto a Service
This commit is contained in:
@@ -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.
|
||||
*/
|
||||
|
||||
+2
-2
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user