summaryrefslogtreecommitdiff
path: root/src/command_parse.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-07-28 00:19:35 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-07-28 00:19:35 +0000
commitea7ec0c1c1219ebfd682c0bfef189b635bc146d7 (patch)
tree3d92eeaa80778e0ac9df9ec8c345b110fb7c98dd /src/command_parse.cpp
parent40581b585d1cfd38c30547c147a4130524a33d3b (diff)
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
Diffstat (limited to 'src/command_parse.cpp')
-rw-r--r--src/command_parse.cpp2
1 files changed, 1 insertions, 1 deletions
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;