summaryrefslogtreecommitdiff
path: root/src/modules/m_testcommand.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-12-26 21:28:05 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-12-26 21:28:05 +0000
commit53e521785f75f9a3f8be7f8110a8af65fcaff410 (patch)
tree3bf77d9a15ef786e1605c6e9887f902b71f0ea3a /src/modules/m_testcommand.cpp
parentb9e643261230d3b71517b0bc631c3b306e7246fa (diff)
Last set converted to 'Implements'
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2667 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_testcommand.cpp')
-rw-r--r--src/modules/m_testcommand.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/modules/m_testcommand.cpp b/src/modules/m_testcommand.cpp
index 8fdaff94f..bbdc437e4 100644
--- a/src/modules/m_testcommand.cpp
+++ b/src/modules/m_testcommand.cpp
@@ -73,6 +73,11 @@ class ModuleTestCommand : public Module
// Add a mode +Z for channels with no parameters
Srv->AddExtendedMode('Z',MT_CHANNEL,false,1,0);
}
+
+ void Implements(char* List)
+ {
+ List[I_OnExtendedMode] = List[I_OnUserJoin] = 1;
+ }
virtual int OnExtendedMode(userrec* user, void* target, char modechar, int type, bool mode_on, string_list &params)
{
@@ -119,11 +124,6 @@ class ModuleTestCommand : public Module
{
return Version(1,0,0,0,VF_STATIC|VF_VENDOR);
}
-
- virtual void OnUserConnect(userrec* user)
- {
- }
-
};