diff options
Diffstat (limited to 'src/core/ms_set.cpp')
-rw-r--r-- | src/core/ms_set.cpp | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/src/core/ms_set.cpp b/src/core/ms_set.cpp index 9171b0f21..d915d7856 100644 --- a/src/core/ms_set.cpp +++ b/src/core/ms_set.cpp @@ -251,6 +251,11 @@ class CommandMSSet : public Command { syntax_error(Config.s_MemoServ, u, "SET", MEMO_SET_SYNTAX); } + + void OnServHelp(User *u) + { + notice_lang(Config.s_MemoServ, u, MEMO_HELP_CMD_SET); + } }; class MSSet : public Module @@ -263,12 +268,6 @@ class MSSet : public Module this->SetType(CORE); this->AddCommand(MemoServ, new CommandMSSet()); - - ModuleManager::Attach(I_OnMemoServHelp, this); - } - void OnMemoServHelp(User *u) - { - notice_lang(Config.s_MemoServ, u, MEMO_HELP_CMD_SET); } }; |