From fa586546fa8b7d17199d08bc7f9814de7aaa3ac7 Mon Sep 17 00:00:00 2001 From: attilamolnar Date: Wed, 11 Jul 2012 15:18:10 +0200 Subject: Fix allow_overlapped having the opposite effect in irc::portparser --- src/hashcomp.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v1.2.3