mirror of
https://github.com/mumble-voip/mumble.git
synced 2025-10-26 11:19:16 +00:00
Remove hardcoded IP whitelist for master server
With the master server being moved, this hardcoded IP is no longer valid.
This commit is contained in:
parent
a30f1dd445
commit
6123439d1b
@ -673,9 +673,6 @@ bool Meta::banCheck(const QHostAddress &addr) {
|
||||
if ((mp.iBanTries == 0) || (mp.iBanTimeframe == 0))
|
||||
return false;
|
||||
|
||||
if (addr.toIPv4Address() == ((128U << 24) | (39U << 16) | (114U << 8) | 1U))
|
||||
return false;
|
||||
|
||||
if (qhBans.contains(addr)) {
|
||||
Timer t = qhBans.value(addr);
|
||||
if (t.elapsed() < (1000000ULL * mp.iBanTime))
|
||||
|
||||
Loading…
Reference in New Issue
Block a user