diff options
Diffstat (limited to 'src/core/cs_info.cpp')
-rw-r--r-- | src/core/cs_info.cpp | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/src/core/cs_info.cpp b/src/core/cs_info.cpp index c0c99c856..4e5bf9159 100644 --- a/src/core/cs_info.cpp +++ b/src/core/cs_info.cpp @@ -158,6 +158,11 @@ class CommandCSInfo : public Command { syntax_error(Config.s_ChanServ, u, "INFO", CHAN_INFO_SYNTAX); } + + void OnServHelp(User *u) + { + notice_lang(Config.s_ChanServ, u, CHAN_HELP_CMD_INFO); + } }; class CSInfo : public Module @@ -169,12 +174,6 @@ class CSInfo : public Module this->SetVersion(VERSION_STRING); this->SetType(CORE); this->AddCommand(ChanServ, new CommandCSInfo()); - - ModuleManager::Attach(I_OnChanServHelp, this); - } - void OnChanServHelp(User *u) - { - notice_lang(Config.s_ChanServ, u, CHAN_HELP_CMD_INFO); } }; |