summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-12-26 18:31:32 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-12-26 18:31:32 +0000
commit8cecef0f0b654b38758e22d43dc221769e4eb7b2 (patch)
tree12a683047be0c79ce351cd5a821f0ae783c9ec51 /src/modules
parent9c5adbc7f8db966dd26c6b02c8e8fdd0ee3b964c (diff)
And more
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2660 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/m_helpop.cpp4
-rw-r--r--src/modules/m_hostchange.cpp5
-rw-r--r--src/modules/m_ident.cpp5
3 files changed, 14 insertions, 0 deletions
diff --git a/src/modules/m_helpop.cpp b/src/modules/m_helpop.cpp
index 1aeb69b12..548bb9c1d 100644
--- a/src/modules/m_helpop.cpp
+++ b/src/modules/m_helpop.cpp
@@ -206,6 +206,10 @@ class ModuleHelpop : public Module
}
}
+ void Implements(char* List)
+ {
+ List[I_OnRehash] = List[I_OnExtendedMode] = List[I_OnWhois] = 1;
+ }
virtual void OnRehash(std::string parameter)
{
diff --git a/src/modules/m_hostchange.cpp b/src/modules/m_hostchange.cpp
index 7fb14a1ba..cfd306dc6 100644
--- a/src/modules/m_hostchange.cpp
+++ b/src/modules/m_hostchange.cpp
@@ -45,6 +45,11 @@ class ModuleHostChange : public Module
delete Conf;
}
+ void Implements(char* List)
+ {
+ List[I_OnRehash] = List[I_OnUserConnect] = 1;
+ }
+
virtual void OnRehash(std::string parameter)
{
delete Conf;
diff --git a/src/modules/m_ident.cpp b/src/modules/m_ident.cpp
index c55c51499..b5bc9e435 100644
--- a/src/modules/m_ident.cpp
+++ b/src/modules/m_ident.cpp
@@ -270,6 +270,11 @@ class ModuleIdent : public Module
ReadSettings();
}
+ void Implements(char* List)
+ {
+ List[I_OnRehash] = List[I_OnUserRegister] = List[I_OnCheckReady] = List[I_OnUserDisconnect] = 1;
+ }
+
virtual void OnRehash(std::string parameter)
{
ReadSettings();