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.cpp9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/modules/m_abbreviation.cpp b/src/modules/m_abbreviation.cpp
index 8ff325730..c8aadfcae 100644
--- a/src/modules/m_abbreviation.cpp
+++ b/src/modules/m_abbreviation.cpp
@@ -20,12 +20,11 @@ class ModuleAbbreviation : public Module
public:
- ModuleAbbreviation(InspIRCd* Me)
- : Module(Me)
- {
- Me->Modules->Attach(I_OnPreCommand, this);
+ ModuleAbbreviation()
+ {
+ ServerInstance->Modules->Attach(I_OnPreCommand, this);
/* Must do this first */
- Me->Modules->SetPriority(this, I_OnPreCommand, PRIORITY_FIRST);
+ ServerInstance->Modules->SetPriority(this, I_OnPreCommand, PRIORITY_FIRST);
}
virtual Version GetVersion()