From 1a800f7b3db23cdef7e167cd25c0f3b2a64a8e46 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Thu, 9 Apr 2020 18:57:50 +0100 Subject: Improve storage of module description, flags, and link data. --- src/modules/m_clones.cpp | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'src/modules/m_clones.cpp') diff --git a/src/modules/m_clones.cpp b/src/modules/m_clones.cpp index 804b55323..20a7e9fc4 100644 --- a/src/modules/m_clones.cpp +++ b/src/modules/m_clones.cpp @@ -89,18 +89,14 @@ class CommandClones : public SplitCommand class ModuleClones : public Module { - public: + private: CommandClones cmd; public: ModuleClones() - : cmd(this) - { - } - - Version GetVersion() override + : Module(VF_VENDOR, "Provides the CLONES command to retrieve information on clones") + , cmd(this) { - return Version("Provides the CLONES command to retrieve information on clones", VF_VENDOR); } }; -- cgit v1.3.1-10-gc9f91