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_abbreviation.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/modules/m_abbreviation.cpp') diff --git a/src/modules/m_abbreviation.cpp b/src/modules/m_abbreviation.cpp index 99bd5537c..ed07c7c74 100644 --- a/src/modules/m_abbreviation.cpp +++ b/src/modules/m_abbreviation.cpp @@ -32,14 +32,14 @@ enum class ModuleAbbreviation : public Module { public: - void Prioritize() override + ModuleAbbreviation() + : Module(VF_VENDOR, "Provides the ability to abbreviate commands a-la BBC BASIC keywords") { - ServerInstance->Modules.SetPriority(this, I_OnPreCommand, PRIORITY_FIRST); } - Version GetVersion() override + void Prioritize() override { - return Version("Provides the ability to abbreviate commands a-la BBC BASIC keywords", VF_VENDOR); + ServerInstance->Modules.SetPriority(this, I_OnPreCommand, PRIORITY_FIRST); } ModResult OnPreCommand(std::string& command, CommandBase::Params& parameters, LocalUser* user, bool validated) override -- cgit v1.3.1-10-gc9f91