From ea7ec0c1c1219ebfd682c0bfef189b635bc146d7 Mon Sep 17 00:00:00 2001 From: brain Date: Fri, 28 Jul 2006 00:19:35 +0000 Subject: Make the error more obvious, still has 'not enough params' on the start now git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4563 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/command_parse.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/command_parse.cpp b/src/command_parse.cpp index c7e368005..b5ee19c1c 100644 --- a/src/command_parse.cpp +++ b/src/command_parse.cpp @@ -252,7 +252,7 @@ void CommandParser::ProcessCommand(userrec *user, std::string &cmd) { /* If syntax is given, display this as the 461 reply */ if (cm->second->syntax.length()) - WriteServ(user->fd,"461 %s %s :Syntax: %s %s", user->nick, command.c_str(), cm->second->command.c_str(), cm->second->syntax.c_str()); + WriteServ(user->fd,"461 %s %s :Not enough parameters. Syntax: %s %s", user->nick, command.c_str(), cm->second->command.c_str(), cm->second->syntax.c_str()); else WriteServ(user->fd,"461 %s %s :Not enough parameters", user->nick, command.c_str()); return; -- cgit v1.2.3