diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-07-20 12:19:30 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-07-20 12:19:30 +0000 |
commit | 93d7a1311d3b22fa9446eda9f7f379f6c0f97956 (patch) | |
tree | af7dd1d09299cc64f1702cf73dc976e1509e89ca /src | |
parent | cef4be3dde599f341d03f6e65d8a99d28d58a487 (diff) |
304 -> RPL_SYNTAX
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10052 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-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 00e5402fa..4d03681b6 100644 --- a/src/command_parse.cpp +++ b/src/command_parse.cpp @@ -336,7 +336,7 @@ bool CommandParser::ProcessCommand(User *user, std::string &cmd) { user->WriteNumeric(ERR_NEEDMOREPARAMS, "%s %s :Not enough parameters.", user->nick.c_str(), command.c_str()); if ((ServerInstance->Config->SyntaxHints) && (user->registered == REG_ALL) && (cm->second->syntax.length())) - user->WriteNumeric(304, "%s :SYNTAX %s %s", user->nick.c_str(), cm->second->command.c_str(), cm->second->syntax.c_str()); + user->WriteNumeric(RPL_SYNTAX, "%s :SYNTAX %s %s", user->nick.c_str(), cm->second->command.c_str(), cm->second->syntax.c_str()); return do_more; } if ((user->registered != REG_ALL) && (!cm->second->WorksBeforeReg())) |