summaryrefslogtreecommitdiff
path: root/src/modules/m_cloaking.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-12-26 18:19:34 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-12-26 18:19:34 +0000
commit9861679f40d2a4f03e524998039c00d2bc838636 (patch)
tree93e42d2c1143c78353d4de5ae6add8ef1d0b9e08 /src/modules/m_cloaking.cpp
parent4f1ef4e881ba4811fbd771aca44c395f0ab67ece (diff)
Converted to new implements system
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2657 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_cloaking.cpp')
-rw-r--r--src/modules/m_cloaking.cpp5
1 files changed, 5 insertions, 0 deletions
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)
{