From 8d4551953561efc7baae31ed2529dd2371908b6c Mon Sep 17 00:00:00 2001 From: brain Date: Mon, 26 Dec 2005 20:55:19 +0000 Subject: Ported to new system git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2665 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_randquote.cpp | 5 +++++ src/modules/m_redirect.cpp | 10 +++++----- 2 files changed, 10 insertions(+), 5 deletions(-) (limited to 'src') 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) - { - } - }; -- cgit v1.2.3