diff options
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) - { - } - }; |