diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-12-26 20:55:19 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-12-26 20:55:19 +0000 |
commit | 8d4551953561efc7baae31ed2529dd2371908b6c (patch) | |
tree | 1250eebb7499736fa125863ef1d0a3568b14f5f6 /src/modules | |
parent | a50ff6a758eb180c810d2eb2725425ed7d8e5b0b (diff) |
Ported to new system
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2665 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules')
-rw-r--r-- | src/modules/m_randquote.cpp | 5 | ||||
-rw-r--r-- | src/modules/m_redirect.cpp | 10 |
2 files changed, 10 insertions, 5 deletions
diff --git a/src/modules/m_randquote.cpp b/src/modules/m_randquote.cpp index 73bf9b3b1..bcc4e9042 100644 --- a/src/modules/m_randquote.cpp +++ b/src/modules/m_randquote.cpp @@ -102,6 +102,11 @@ class ModuleRandQuote : public Module Srv->AddCommand(mycommand); } } + + void Implements(char* List) + { + List[I_OnUserConnect] = 1; + } virtual ~ModuleRandQuote() { diff --git a/src/modules/m_redirect.cpp b/src/modules/m_redirect.cpp index 28c092306..7120a7a29 100644 --- a/src/modules/m_redirect.cpp +++ b/src/modules/m_redirect.cpp @@ -60,6 +60,11 @@ class ModuleRedirect : public Module return 0; } + void Implements(char* List) + { + List[I_On005Numeiric] = List[I_OnUserPreJoin] = List[I_OnExtendedMode] = 1; + } + virtual void On005Numeric(std::string &output) { std::stringstream line(output); @@ -106,11 +111,6 @@ class ModuleRedirect : public Module { return Version(1,0,0,0,VF_STATIC|VF_VENDOR); } - - virtual void OnUserConnect(userrec* user) - { - } - }; |