summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
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();