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/os_set.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/commands/os_set.cpp') diff --git a/modules/commands/os_set.cpp b/modules/commands/os_set.cpp index abee78e77..340b463ea 100644 --- a/modules/commands/os_set.cpp +++ b/modules/commands/os_set.cpp @@ -189,7 +189,7 @@ class CommandOSSet : public Command else if (option.equals_ci("NOEXPIRE")) return this->DoSetNoExpire(source, params); else - source.Reply(_("Unknown option \002%s\002."), option.c_str()); + this->OnSyntaxError(source, ""); return; } -- cgit