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/modules/cs_appendtopic.cpp | |
parent | b8f9116b19eb511c4f5e6a683725f50bf732a7dd (diff) |
Moved the *Serv help functions to Command, will come in use later with subcommands
Diffstat (limited to 'src/modules/cs_appendtopic.cpp')
-rw-r--r-- | src/modules/cs_appendtopic.cpp | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/src/modules/cs_appendtopic.cpp b/src/modules/cs_appendtopic.cpp index 311ac0717..a44e6d1a9 100644 --- a/src/modules/cs_appendtopic.cpp +++ b/src/modules/cs_appendtopic.cpp @@ -128,6 +128,11 @@ class CommandCSAppendTopic : public Command { me->NoticeLang(Config.s_ChanServ, u, LNG_APPENDTOPIC_SYNTAX); } + + void OnServHelp(User *u) + { + me->NoticeLang(Config.s_ChanServ, u, LNG_CHAN_HELP); + } }; class CSAppendTopic : public Module @@ -222,12 +227,6 @@ class CSAppendTopic : public Module this->InsertLanguage(LANG_PT, LNG_NUM_STRINGS, langtable_pt); this->InsertLanguage(LANG_RU, LNG_NUM_STRINGS, langtable_ru); this->InsertLanguage(LANG_IT, LNG_NUM_STRINGS, langtable_it); - - ModuleManager::Attach(I_OnChanServHelp, this); - } - void OnChanServHelp(User *u) - { - this->NoticeLang(Config.s_ChanServ, u, LNG_CHAN_HELP); } }; |