diff options
author | Adam <Adam@drink-coca-cola.info> | 2010-05-30 17:21:44 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2010-06-18 21:04:09 -0400 |
commit | 6cd88494662c5c4af2da891926dcc82367596cb9 (patch) | |
tree | 59f67163abee4e7468a26b25f9cecca270f57b70 /src/core/cs_set.cpp | |
parent | b8f9116b19eb511c4f5e6a683725f50bf732a7dd (diff) |
Moved the *Serv help functions to Command, will come in use later with subcommands
Diffstat (limited to 'src/core/cs_set.cpp')
-rw-r--r-- | src/core/cs_set.cpp | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/src/core/cs_set.cpp b/src/core/cs_set.cpp index 71136bc2b..f169e2264 100644 --- a/src/core/cs_set.cpp +++ b/src/core/cs_set.cpp @@ -812,6 +812,11 @@ class CommandCSSet : public Command syntax_error(Config.s_ChanServ, u, command.c_str(), reply); } + + void OnServHelp(User *u) + { + notice_lang(Config.s_ChanServ, u, CHAN_HELP_CMD_SET); + } }; class CSSet : public Module @@ -823,12 +828,6 @@ class CSSet : public Module this->SetVersion(VERSION_STRING); this->SetType(CORE); this->AddCommand(ChanServ, new CommandCSSet()); - - ModuleManager::Attach(I_OnChanServHelp, this); - } - void OnChanServHelp(User *u) - { - notice_lang(Config.s_ChanServ, u, CHAN_HELP_CMD_SET); } }; |