diff options
| author | 2013-09-04 06:42:46 -0700 | |
|---|---|---|
| committer | 2013-09-04 06:42:46 -0700 | |
| commit | fb1e17c31cfb4af8f7512a0e6c7d7da81ae1be55 (patch) | |
| tree | 125d21e05be9db15499ab6f7ad95586adaae74f5 /src/command_parse.cpp | |
| parent | m_spanningtree Fix timestamp in AWAY (diff) | |
| parent | Improve support for rarely used compilers, EKOPath in this case. (diff) | |
Merge pull request #623 from ChrisTX/insp20+compilerfixes
Improve support for rarely used compilers, EKOPath in this case.
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 b05b34c9b..34844d804 100644 --- a/src/command_parse.cpp +++ b/src/command_parse.cpp @@ -256,7 +256,7 @@ bool CommandParser::ProcessCommand(LocalUser *user, std::string &cmd) while (command_p.size() > (cm->second->max_params - 1)) { // BE CAREFUL: .end() returns past the end of the vector, hence decrement. - std::vector<std::string>::iterator it = --command_p.end(); + std::vector<std::string>::iterator it = command_p.end() - 1; lparam.insert(0, " " + *(it)); command_p.erase(it); // remove last element |
