diff options
-rw-r--r-- | src/murmur/Meta.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/murmur/Meta.cpp b/src/murmur/Meta.cpp index 31c7e2b9e..8c6ab9502 100644 --- a/src/murmur/Meta.cpp +++ b/src/murmur/Meta.cpp @@ -763,7 +763,7 @@ void Meta::successfulConnectionFrom(const QHostAddress &addr) { } bool Meta::banCheck(const QHostAddress &addr) { - if ((mp.iBanTries == 0) || (mp.iBanTimeframe == 0)) + if ((mp.iBanTries <= 0) || (mp.iBanTimeframe <= 0)) return false; if (qhBans.contains(addr)) { |