diff options
author | danieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7> | 2010-03-22 23:41:33 +0000 |
---|---|---|
committer | danieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7> | 2010-03-22 23:41:33 +0000 |
commit | fdab84abd3c0a66fe0137261d810c14db729eefd (patch) | |
tree | b4852615cd89b1ce685fba2c5f6311ec4c48b98b /src/modules | |
parent | 9096b10092cc7e7fba76b23fd16b327a4ed44990 (diff) |
A few minor fixups
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12655 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules')
-rw-r--r-- | src/modules/m_abbreviation.cpp | 11 |
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); } |