summaryrefslogtreecommitdiff
path: root/modules/commands/ms_set.cpp
diff options
context:
space:
mode:
authorlethality <lethality@anope.org>2011-08-08 06:19:35 +0100
committerlethality <lethality@anope.org>2011-08-08 06:19:35 +0100
commit286a9edb1ecc05d0afc515e05dce868efe38f063 (patch)
treec224702fc1f6e57bc3e24ac478afd236760aa1b2 /modules/commands/ms_set.cpp
parentade92395a0f08b125b60fbbd488eecb5c3258e76 (diff)
Standardized some of the SyntaxError/Help replies and corrected some syntax in BotServ set
Diffstat (limited to 'modules/commands/ms_set.cpp')
-rw-r--r--modules/commands/ms_set.cpp5
1 files changed, 2 insertions, 3 deletions
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;