1
0
mirror of https://github.com/anope/anope.git synced 2026-06-30 03:16:37 +02:00

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
This commit is contained in:
cyberbotx
2009-03-23 04:29:25 +00:00
parent 656cc9973e
commit ce09914e1d
11 changed files with 63 additions and 55 deletions
+1 -1
View File
@@ -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);