From 286a9edb1ecc05d0afc515e05dce868efe38f063 Mon Sep 17 00:00:00 2001 From: lethality Date: Mon, 8 Aug 2011 06:19:35 +0100 Subject: Standardized some of the SyntaxError/Help replies and corrected some syntax in BotServ set --- modules/commands/ms_set.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'modules/commands/ms_set.cpp') diff --git a/modules/commands/ms_set.cpp b/modules/commands/ms_set.cpp index 1aa3f469d..b1bda8339 100644 --- a/modules/commands/ms_set.cpp +++ b/modules/commands/ms_set.cpp @@ -62,7 +62,7 @@ class CommandMSSet : public Command source.Reply(_("%s will not send you any notification of memos."), Config->MemoServ.c_str()); } else - this->OnSyntaxError(source, param); + this->OnSyntaxError(source, ""); return; } @@ -219,8 +219,7 @@ class CommandMSSet : public Command return this->DoLimit(source, params, mi); else { - source.Reply(NICK_SET_UNKNOWN_OPTION, Config->UseStrictPrivMsgString.c_str(), cmd.c_str()); - source.Reply(MORE_INFO, Config->UseStrictPrivMsgString.c_str(), source.owner->nick.c_str(), "SET"); + this->OnSyntaxError(source, ""); } return; -- cgit