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_sqloper.cpp | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'src/modules/m_sqloper.cpp') diff --git a/src/modules/m_sqloper.cpp b/src/modules/m_sqloper.cpp index 71264f26f..09092e5a8 100644 --- a/src/modules/m_sqloper.cpp +++ b/src/modules/m_sqloper.cpp @@ -163,6 +163,7 @@ class OperQuery : public SQL::Query class ModuleSQLOper : public Module { + private: // Whether OperQuery is running bool active = false; std::string query; @@ -172,7 +173,8 @@ class ModuleSQLOper : public Module public: ModuleSQLOper() - : SQL(this, "SQL") + : Module(VF_VENDOR, "Allows storage of oper credentials in an SQL table") + , SQL(this, "SQL") { } @@ -245,11 +247,6 @@ public: */ ServerInstance->Modules.SetPriority(this, I_OnPreCommand, PRIORITY_FIRST); } - - Version GetVersion() override - { - return Version("Allows storage of oper credentials in an SQL table", VF_VENDOR); - } }; MODULE_INIT(ModuleSQLOper) -- cgit v1.3.1-10-gc9f91