mirror of
https://github.com/anope/anope.git
synced 2026-07-04 00:43:12 +02:00
Fixed /ms sendall syntax error message
This commit is contained in:
@@ -611,6 +611,7 @@ enum LanguageString
|
||||
MEMO_HAVE_NO_MEMOS,
|
||||
MEMO_X_HAS_NO_MEMOS,
|
||||
MEMO_SEND_SYNTAX,
|
||||
MEMO_SENDALL_SYNTAX,
|
||||
MEMO_SEND_DISABLED,
|
||||
MEMO_SEND_PLEASE_WAIT,
|
||||
MEMO_X_GETS_NO_MEMOS,
|
||||
|
||||
@@ -52,7 +52,7 @@ class CommandMSSendAll : public Command
|
||||
|
||||
void OnSyntaxError(User *u, const Anope::string &subcommand)
|
||||
{
|
||||
SyntaxError(MemoServ, u, "SENDALL", MEMO_SEND_SYNTAX);
|
||||
SyntaxError(MemoServ, u, "SENDALL", MEMO_SENDALL_SYNTAX);
|
||||
}
|
||||
|
||||
void OnServHelp(User *u)
|
||||
|
||||
@@ -1406,6 +1406,8 @@ Anope::string language_strings[LANG_STRING_COUNT] = {
|
||||
_("%s has no memos."),
|
||||
/* MEMO_SEND_SYNTAX */
|
||||
_("SEND {nick | channel} memo-text"),
|
||||
/* MEMO_SENDALL_SYNTAX */
|
||||
_("SENDALL memo-text"),
|
||||
/* MEMO_SEND_DISABLED */
|
||||
_("Sorry, memo sending is temporarily disabled."),
|
||||
/* MEMO_SEND_PLEASE_WAIT */
|
||||
|
||||
Reference in New Issue
Block a user