diff options
Diffstat (limited to 'src/modules/m_globops.cpp')
| -rw-r--r-- | src/modules/m_globops.cpp | 12 |
1 files changed, 7 insertions, 5 deletions
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) |
