summaryrefslogtreecommitdiff
path: root/src/modules/m_alias.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-12-26 18:02:53 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-12-26 18:02:53 +0000
commit43fe72edad4c5dfd1a3a700bea17c8ee7a7c3d8e (patch)
tree8aab686c1d813be2ecfdc33e0e4c3252ce7d1b2a /src/modules/m_alias.cpp
parentbd59b1a9a283c09b318bd3a6cb93774d5961b794 (diff)
New 'Implements' system
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2655 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_alias.cpp')
-rw-r--r--src/modules/m_alias.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/modules/m_alias.cpp b/src/modules/m_alias.cpp
index 57532fc6b..3c4cac9af 100644
--- a/src/modules/m_alias.cpp
+++ b/src/modules/m_alias.cpp
@@ -71,6 +71,11 @@ class ModuleAlias : public Module
MyConf = new ConfigReader;
ReadAliases();
}
+
+ void Implements(char* List)
+ {
+ List[I_OnPreCommand] = List[I_OnRehash] = 1;
+ }
virtual ~ModuleAlias()
{