diff options
author | cyberbotx <cyberbotx@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-03-23 04:29:25 +0000 |
---|---|---|
committer | cyberbotx <cyberbotx@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-03-23 04:29:25 +0000 |
commit | ce09914e1d767e88f6f5d72ac622d1321c91f9ee (patch) | |
tree | c8849a22d6843e562977f45126d525ea6ae07f73 /src/hashcomp.cpp | |
parent | 656cc9973e5fbedf1ad25951c9fe80cbaa2fb3bb (diff) |
Fix part #2 of bug #1010, patched partially by Adam and cleaned up / finished by me, the help commands should work as expected now, including "help set ..." and similar help entries.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2194 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/hashcomp.cpp')
-rw-r--r-- | src/hashcomp.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hashcomp.cpp b/src/hashcomp.cpp index fe892c0e1..f6cea75b3 100644 --- a/src/hashcomp.cpp +++ b/src/hashcomp.cpp @@ -28,7 +28,7 @@ bool sepstream::GetToken(std::string &token) if (*n == sep || n + 1 == tokens.end()) { last_starting_position = n + 1; - token = std::string(lsp, n + 1 == tokens.end() ? n + 1 : ++n); + token = std::string(lsp, n + 1 == tokens.end() ? n + 1 : n++); while (token.length() && token.find_last_of(sep) == token.length() - 1) token.erase(token.end() - 1); |