summaryrefslogtreecommitdiff
path: root/src/modules/m_foobar.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_foobar.cpp')
-rw-r--r--src/modules/m_foobar.cpp5
1 files changed, 5 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)
{