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_globops.cpp | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'src/modules/m_globops.cpp') diff --git a/src/modules/m_globops.cpp b/src/modules/m_globops.cpp index 85b2848cc..70d32200e 100644 --- a/src/modules/m_globops.cpp +++ b/src/modules/m_globops.cpp @@ -54,19 +54,21 @@ class CommandGlobops : public Command class ModuleGlobops : public Module { + private: CommandGlobops cmd; + public: - ModuleGlobops() : cmd(this) {} + ModuleGlobops() + : Module(VF_VENDOR, "Provides the GLOBOPS command and snomask 'g'") + , cmd(this) + { + } void init() override { ServerInstance->SNO.EnableSnomask('g',"GLOBOPS"); } - Version GetVersion() override - { - return Version("Provides the GLOBOPS command and snomask 'g'", VF_VENDOR); - } }; MODULE_INIT(ModuleGlobops) -- cgit v1.3.1-10-gc9f91