summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/modules/m_chanfilter.cpp5
-rw-r--r--src/modules/m_chanprotect.cpp5
-rw-r--r--src/modules/m_chghost.cpp4
-rw-r--r--src/modules/m_cloaking.cpp5
-rw-r--r--src/modules/m_conn_lusers.cpp5
5 files changed, 24 insertions, 0 deletions
diff --git a/src/modules/m_chanfilter.cpp b/src/modules/m_chanfilter.cpp
index 112bcb5c4..e8baf9ca8 100644
--- a/src/modules/m_chanfilter.cpp
+++ b/src/modules/m_chanfilter.cpp
@@ -46,6 +46,11 @@ class ModuleChanFilter : public Module
if (MaxEntries == 0)
MaxEntries = 32;
}
+
+ void Implements(char* List)
+ {
+ List[I_On005Numeric] = List[I_OnUserPart] = List[I_OnRehash] = List[I_OnUserPreMessage] = List[I_OnUserPreNotice] = List[I_OnExtendedMode] = List[I_OnSendList] = List[I_OnSyncChannel] = 1;
+ }
virtual void On005Numeric(std::string &output)
{
diff --git a/src/modules/m_chanprotect.cpp b/src/modules/m_chanprotect.cpp
index 25ff6b12a..a26535108 100644
--- a/src/modules/m_chanprotect.cpp
+++ b/src/modules/m_chanprotect.cpp
@@ -53,6 +53,11 @@ class ModuleChanProtect : public Module
// read our config options (main config file)
FirstInGetsFounder = Conf->ReadFlag("options","noservices",0);
}
+
+ void Implements(char* List)
+ {
+ List[I_On005Numeric] = List[I_OnUserKick] = List[I_OnUserPart] = List[I_OnRehash] = List[I_OnUserJoin] = List[I_OnAccessCheck] = List[I_OnExtendedMode] = List[I_OnSendList] = List[I_OnSyncChannel] = 1;
+ }
virtual void On005Numeric(std::string &output)
{
diff --git a/src/modules/m_chghost.cpp b/src/modules/m_chghost.cpp
index be8154013..42b1378e0 100644
--- a/src/modules/m_chghost.cpp
+++ b/src/modules/m_chghost.cpp
@@ -73,6 +73,10 @@ class ModuleChgHost : public Module
mycommand = new cmd_chghost();
Srv->AddCommand(mycommand);
}
+
+ void Implements(char* List)
+ {
+ }
virtual ~ModuleChgHost()
{
diff --git a/src/modules/m_cloaking.cpp b/src/modules/m_cloaking.cpp
index 20d60ebef..17a8ddefe 100644
--- a/src/modules/m_cloaking.cpp
+++ b/src/modules/m_cloaking.cpp
@@ -303,6 +303,11 @@ class ModuleCloaking : public Module
// listed in /MODULES
return Version(1,0,0,1,VF_STATIC|VF_VENDOR);
}
+
+ void Implements(char* List)
+ {
+ List[I_OnExtendedMode] = List[I_OnUserConnect] = 1;
+ }
virtual int OnExtendedMode(userrec* user, void* target, char modechar, int type, bool mode_on, string_list &params)
{
diff --git a/src/modules/m_conn_lusers.cpp b/src/modules/m_conn_lusers.cpp
index 245bd3c38..b4bb0ce6d 100644
--- a/src/modules/m_conn_lusers.cpp
+++ b/src/modules/m_conn_lusers.cpp
@@ -46,6 +46,11 @@ class ModuleConnLUSERS : public Module
{
return Version(1,0,0,1,VF_VENDOR);
}
+
+ void Implements(char* List)
+ {
+ List[I_OnUserConnect] = 1;
+ }
virtual void OnUserConnect(userrec* user)
{