diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-12-26 18:27:29 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-12-26 18:27:29 +0000 |
commit | 9c5adbc7f8db966dd26c6b02c8e8fdd0ee3b964c (patch) | |
tree | 9284af25b7f84006fe208438e200fb3e42c1b35d /src/modules | |
parent | 9e7c48c59f3ffda80eb979aed43f5491c80b7e75 (diff) |
More stuff converted to new faster system
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2659 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules')
-rw-r--r-- | src/modules/m_foobar.cpp | 5 | ||||
-rw-r--r-- | src/modules/m_globops.cpp | 5 |
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 ¶ms) { |