From 9c5adbc7f8db966dd26c6b02c8e8fdd0ee3b964c Mon Sep 17 00:00:00 2001 From: brain Date: Mon, 26 Dec 2005 18:27:29 +0000 Subject: More stuff converted to new faster system git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2659 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_foobar.cpp | 5 +++++ src/modules/m_globops.cpp | 5 +++++ 2 files changed, 10 insertions(+) (limited to 'src/modules') 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) { -- cgit v1.2.3