summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/modules/m_foobar.cpp5
-rw-r--r--src/modules/m_globops.cpp5
2 files changed, 10 insertions, 0 deletions
diff --git a/src/modules/m_foobar.cpp b/src/modules/m_foobar.cpp
index d08903e55..a67b936bd 100644
--- a/src/modules/m_foobar.cpp
+++ b/src/modules/m_foobar.cpp
@@ -55,6 +55,11 @@ class ModuleFoobar : public Module
return Version(1,0,0,1,VF_VENDOR);
}
+
+ void Implements(char* List)
+ {
+ List[I_OnUserConnect] = List[I_OnUserQuit] = List[I_OnUserJoin] = List[I_OnUserPart] = 1;
+ }
virtual void OnUserConnect(userrec* user)
{
diff --git a/src/modules/m_globops.cpp b/src/modules/m_globops.cpp
index 301290363..df18de29b 100644
--- a/src/modules/m_globops.cpp
+++ b/src/modules/m_globops.cpp
@@ -78,6 +78,11 @@ class ModuleGlobops : public Module
{
return Version(1,0,0,1,VF_STATIC|VF_VENDOR);
}
+
+ void Implements(char* List)
+ {
+ List[I_OnExtendedMode] = 1;
+ }
virtual int OnExtendedMode(userrec* user, void* target, char modechar, int type, bool mode_on, string_list &params)
{