summaryrefslogtreecommitdiff
path: root/src/hashcomp.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/hashcomp.cpp')
-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;
}