diff options
| author | 2007-11-04 15:39:06 +0000 | |
|---|---|---|
| committer | 2007-11-04 15:39:06 +0000 | |
| commit | 2facf72164bcf6ddef3b865ee729e6918cd06fd0 (patch) | |
| tree | 53306c112a54ca2569ffbab755514b03ea28f16a /src/modules/m_alias.cpp | |
| parent | Development/Hooking in full swing now: WARNING, this will break ALL modules f... (diff) | |
Next part of Development/Hooking (see wiki)
Module::Prioritize and Module::Implements are now GONE.
ModuleManager::MoveTo, MoveBefore, MoveAfter, MoveFirst, MoveLast are GONE too.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8498 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_alias.cpp')
| -rw-r--r-- | src/modules/m_alias.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/modules/m_alias.cpp b/src/modules/m_alias.cpp index 90517255e..94891af7c 100644 --- a/src/modules/m_alias.cpp +++ b/src/modules/m_alias.cpp @@ -75,11 +75,9 @@ class ModuleAlias : public Module { ReadAliases(); pars.resize(MAXPARAMETERS); - } - void Implements(char* List) - { - List[I_OnPreCommand] = List[I_OnRehash] = 1; + Me->Modules->Attach(I_OnPreCommand, this); + Me->Modules->Attach(I_OnRehash, this); } virtual ~ModuleAlias() |
