summaryrefslogtreecommitdiff
path: root/src/core/ms_read.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/ms_read.c')
-rw-r--r--src/core/ms_read.c15
1 files changed, 4 insertions, 11 deletions
diff --git a/src/core/ms_read.c b/src/core/ms_read.c
index 15c968b94..fe5a959eb 100644
--- a/src/core/ms_read.c
+++ b/src/core/ms_read.c
@@ -17,7 +17,6 @@
int read_memo_callback(User *u, int num, va_list args);
int read_memo(User *u, int index, MemoInfo *mi, const char *chan);
-void myMemoServHelp(User *u);
extern void rsend_notify(User *u, Memo *m, const char *chan);
class CommandMSRead : public Command
@@ -131,20 +130,14 @@ class MSRead : public Module
this->SetVersion("$Id$");
this->SetType(CORE);
this->AddCommand(MEMOSERV, new CommandMSRead(), MOD_UNIQUE);
- this->SetMemoHelp(myMemoServHelp);
+ }
+ void MemoServHelp(User *u)
+ {
+ notice_lang(s_MemoServ, u, MEMO_HELP_CMD_READ);
}
};
/**
- * Add the help response to anopes /ms help output.
- * @param u The user who is requesting help
- **/
-void myMemoServHelp(User *u)
-{
- notice_lang(s_MemoServ, u, MEMO_HELP_CMD_READ);
-}
-
-/**
* Read a memo callback function
* @param u User Struct
* @param int Index number