diff options
| author | 2012-07-11 15:18:10 +0200 | |
|---|---|---|
| committer | 2012-07-11 15:18:10 +0200 | |
| commit | fa586546fa8b7d17199d08bc7f9814de7aaa3ac7 (patch) | |
| tree | 8cc88ac1ab7a2158c704e1ff9e4445c6ff64b0a7 /src/hashcomp.cpp | |
| parent | Don't manage memory manually for the commasepstream in irc::portparser (diff) | |
Fix allow_overlapped having the opposite effect in irc::portparser
Diffstat (limited to 'src/hashcomp.cpp')
| -rw-r--r-- | src/hashcomp.cpp | 2 |
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); |
