From 95bc4eb84189edc0071b17774dcd58a535765847 Mon Sep 17 00:00:00 2001 From: brain Date: Sun, 4 May 2008 21:49:20 +0000 Subject: *param.c_str() -> param[0] git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9612 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/command_parse.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/command_parse.cpp') diff --git a/src/command_parse.cpp b/src/command_parse.cpp index 0be458d57..d6e5f3c56 100644 --- a/src/command_parse.cpp +++ b/src/command_parse.cpp @@ -267,7 +267,7 @@ bool CommandParser::ProcessCommand(User *user, std::string &cmd) * the rfc says they shouldnt but also says the ircd should * discard it if they do. */ - if (*command.c_str() == ':') + if (command[0] == ':') tokens.GetToken(command); while (tokens.GetToken(token) && (command_p.size() <= MAXPARAMETERS)) -- cgit v1.2.3