summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2013-02-09 22:48:05 -0500
committerAdam <Adam@anope.org>2013-02-09 22:48:05 -0500
commit9b3ecfe777d38fffb50396350ec6f37fdfcfacd7 (patch)
treeb5fca6d925da99daf061fcc30a8c1e00030dba19
parent20794981b3521f5b27c80b02df326df1b3f32284 (diff)
Fixed sepstream::GetToken logic fail
-rw-r--r--src/hashcomp.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hashcomp.cpp b/src/hashcomp.cpp
index c91bafc78..2f7816746 100644
--- a/src/hashcomp.cpp
+++ b/src/hashcomp.cpp
@@ -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;
}