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_disable.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/modules/m_disable.cpp') diff --git a/src/modules/m_disable.cpp b/src/modules/m_disable.cpp index 36c4783bf..2509be17b 100644 --- a/src/modules/m_disable.cpp +++ b/src/modules/m_disable.cpp @@ -78,6 +78,11 @@ class ModuleDisable : public Module } public: + ModuleDisable() + : Module(VF_VENDOR, "Provides support for disabling commands and modes") + { + } + void ReadConfig(ConfigStatus& status) override { ConfigTag* tag = ServerInstance->Config->ConfValue("disabled"); @@ -181,11 +186,6 @@ class ModuleDisable : public Module what, mh->GetModeChar(), mh->name.c_str())); return MOD_RES_DENY; } - - Version GetVersion() override - { - return Version("Provides support for disabling commands and modes", VF_VENDOR); - } }; MODULE_INIT(ModuleDisable) -- cgit v1.3.1-10-gc9f91