summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2010-11-05 03:34:44 -0400
committerAdam <Adam@anope.org>2010-11-05 03:34:44 -0400
commitf5d20579ee1fd3d2495d3af7c945db5c43e25daa (patch)
treeb9a68a3344b39182c35222c4eec47708516e60ee
parentcbd0f52eff232c1304658049ef9f2a64fc980a6c (diff)
Fixed /ms sendall syntax error message
-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 */