summaryrefslogtreecommitdiff
path: root/src/core/ms_set.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/ms_set.c')
-rw-r--r--src/core/ms_set.c17
1 files changed, 4 insertions, 13 deletions
diff --git a/src/core/ms_set.c b/src/core/ms_set.c
index a9922aae8..4d96b355e 100644
--- a/src/core/ms_set.c
+++ b/src/core/ms_set.c
@@ -15,8 +15,6 @@
#include "module.h"
-void myMemoServHelp(User *u);
-
class CommandMSSet : public Command
{
private:
@@ -266,18 +264,11 @@ class MSSet : public Module
this->SetType(CORE);
this->AddCommand(MEMOSERV, new CommandMSSet(), MOD_UNIQUE);
-
- this->SetMemoHelp(myMemoServHelp);
+ }
+ void MemoServHelp(User *u)
+ {
+ notice_lang(s_MemoServ, u, MEMO_HELP_CMD_SET);
}
};
-/**
- * Add the help response to anopes /hs help output.
- * @param u The user who is requesting help
- **/
-void myMemoServHelp(User *u)
-{
- notice_lang(s_MemoServ, u, MEMO_HELP_CMD_SET);
-}
-
MODULE_INIT("ms_set", MSSet)