]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/command_parse.cpp
Switch the WEBIRC command to use SplitCommand.
[user/henk/code/inspircd.git] / src / command_parse.cpp
index f3511b05b0c7c36aa4c0f41ffea961e7056b54a2..9ffd20865236e1b7874f211fef472367958a2d86 100644 (file)
@@ -307,7 +307,7 @@ void CommandParser::ProcessCommand(LocalUser *user, std::string &cmd)
                user->CommandFloodPenalty += failpenalty;
                user->WriteNumeric(ERR_NEEDMOREPARAMS, command, "Not enough parameters.");
                if ((ServerInstance->Config->SyntaxHints) && (user->registered == REG_ALL) && (handler->syntax.length()))
-                       user->WriteNumeric(RPL_SYNTAX, InspIRCd::Format("SYNTAX %s %s", handler->name.c_str(), handler->syntax.c_str()));
+                       user->WriteNumeric(RPL_SYNTAX, handler->name, handler->syntax);
                return;
        }