summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorattilamolnar <attilamolnar@hush.com>2012-07-11 15:18:10 +0200
committerattilamolnar <attilamolnar@hush.com>2012-07-11 15:18:10 +0200
commitfa586546fa8b7d17199d08bc7f9814de7aaa3ac7 (patch)
tree8cc88ac1ab7a2158c704e1ff9e4445c6ff64b0a7 /src
parenta8d911c021c92d424882003cf22cf4e154ec5ea2 (diff)
Fix allow_overlapped having the opposite effect in irc::portparser
Diffstat (limited to 'src')
-rw-r--r--src/hashcomp.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hashcomp.cpp b/src/hashcomp.cpp
index 2275a1006..2cb6fb972 100644
--- a/src/hashcomp.cpp
+++ b/src/hashcomp.cpp
@@ -490,7 +490,7 @@ irc::portparser::portparser(const std::string &source, bool allow_overlapped)
bool irc::portparser::Overlaps(long val)
{
- if (!overlapped)
+ if (overlapped)
return false;
return (!overlap_set.insert(val).second);