mirror of
https://github.com/inspircd/inspircd.git
synced 2025-03-13 04:29:03 -04:00
Stop gcc prerelease (PRERELEASE? YEAH REALLY, WE HATE YOUR GUTS DEBIAN) from bitching about using ++ within an expression
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5197 e03df62e-2008-0410-955e-edbf42e46eb7
This commit is contained in:
parent
5401a6e5a6
commit
afd808e442
@ -320,7 +320,10 @@ void CommandParser::ProcessCommand(userrec *user, std::string &cmd)
|
||||
std::string command = tokens.GetToken();
|
||||
|
||||
while (((para[items] = tokens.GetToken()) != "") && (items < 127))
|
||||
command_p[items] = para[items++].c_str();
|
||||
{
|
||||
command_p[items] = para[items].c_str();
|
||||
items++;
|
||||
}
|
||||
|
||||
std::transform(command.begin(), command.end(), command.begin(), ::toupper);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user