summaryrefslogtreecommitdiff
path: root/src/modules/m_abbreviation.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_abbreviation.cpp')
-rw-r--r--src/modules/m_abbreviation.cpp11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/modules/m_abbreviation.cpp b/src/modules/m_abbreviation.cpp
index f0086ddcb..b87e352d2 100644
--- a/src/modules/m_abbreviation.cpp
+++ b/src/modules/m_abbreviation.cpp
@@ -17,13 +17,14 @@
class ModuleAbbreviation : public Module
{
-
public:
-
- ModuleAbbreviation()
- {
+ void init()
+ {
ServerInstance->Modules->Attach(I_OnPreCommand, this);
- /* Must do this first */
+ }
+
+ void Prioritize()
+ {
ServerInstance->Modules->SetPriority(this, I_OnPreCommand, PRIORITY_FIRST);
}