aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_abbreviation.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2020-04-09 18:57:50 +0100
committerGravatar Sadie Powell2020-04-11 13:54:05 +0100
commit1a800f7b3db23cdef7e167cd25c0f3b2a64a8e46 (patch)
treef302e819c6707d578c2011544069a21640fab735 /src/modules/m_abbreviation.cpp
parentDefault <sslprofile:hash> to sha256 for GnuTLS and OpenSSL. (diff)
Improve storage of module description, flags, and link data.
Diffstat (limited to 'src/modules/m_abbreviation.cpp')
-rw-r--r--src/modules/m_abbreviation.cpp8
1 files changed, 4 insertions, 4 deletions
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