1
0
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:
Adam
2010-11-05 03:34:44 -04:00
parent cbd0f52eff
commit f5d20579ee
3 changed files with 4 additions and 1 deletions
+1
View File
@@ -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,
+1 -1
View File
@@ -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)
+2
View File
@@ -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 */