diff options
| author | 2006-07-28 00:19:35 +0000 | |
|---|---|---|
| committer | 2006-07-28 00:19:35 +0000 | |
| commit | ea7ec0c1c1219ebfd682c0bfef189b635bc146d7 (patch) | |
| tree | 3d92eeaa80778e0ac9df9ec8c345b110fb7c98dd /src/command_parse.cpp | |
| parent | Re-order stuff so that users cant get syntax for commands they dont have acce... (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.cpp | 2 |
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; |
