summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/language.h1
-rw-r--r--modules/core/ms_sendall.cpp2
-rw-r--r--src/language.cpp2
3 files changed, 4 insertions, 1 deletions
diff --git a/include/language.h b/include/language.h
index e40287bf7..28fd67021 100644
--- a/include/language.h
+++ b/include/language.h
@@ -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,
diff --git a/modules/core/ms_sendall.cpp b/modules/core/ms_sendall.cpp
index b16e13929..33730f590 100644
--- a/modules/core/ms_sendall.cpp
+++ b/modules/core/ms_sendall.cpp
@@ -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)
diff --git a/src/language.cpp b/src/language.cpp
index 2b63f0103..5c09c072f 100644
--- a/src/language.cpp
+++ b/src/language.cpp
@@ -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 */