diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-05-04 21:49:20 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-05-04 21:49:20 +0000 |
commit | 95bc4eb84189edc0071b17774dcd58a535765847 (patch) | |
tree | 1b3db60b6ac2abcd0885ce98a5a9a8d2d0bff56c /src/command_parse.cpp | |
parent | 291efc3c427e0ecee133e104f0af3facd8685a4f (diff) |
*param.c_str() -> param[0]
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9612 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 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)) |