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:
+1
-1
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user