diff options
Diffstat (limited to 'src/modules/m_clones.cpp')
-rw-r--r-- | src/modules/m_clones.cpp | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/src/modules/m_clones.cpp b/src/modules/m_clones.cpp index 92b1bda78..e71ee8d12 100644 --- a/src/modules/m_clones.cpp +++ b/src/modules/m_clones.cpp @@ -63,31 +63,23 @@ class CommandClones : public Command } }; - class ModuleClones : public Module { - private: CommandClones cmd; public: ModuleClones() : cmd(this) { } - void init() + void init() CXX11_OVERRIDE { ServerInstance->Modules->AddService(cmd); } - virtual ~ModuleClones() - { - } - - virtual Version GetVersion() + Version GetVersion() CXX11_OVERRIDE { return Version("Provides the /CLONES command to retrieve information on clones.", VF_VENDOR); } - - }; MODULE_INIT(ModuleClones) |