mirror of
https://github.com/anope/anope.git
synced 2026-06-25 16:26:37 +02:00
Fixed sepstream::GetToken logic fail
This commit is contained in:
+1
-1
@@ -108,7 +108,7 @@ bool sepstream::GetToken(Anope::string &token)
|
||||
bool sepstream::GetToken(Anope::string &token, int num)
|
||||
{
|
||||
int i;
|
||||
for (i = 0; i < num + 1 && !this->GetToken(token); ++i);
|
||||
for (i = 0; i < num + 1 && this->GetToken(token); ++i);
|
||||
return i == num + 1;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user