mirror of
https://github.com/anope/anope.git
synced 2026-07-08 01:23:14 +02:00
Don't check userlimit when servers first connect, servers wont have any users at that point anyway
This commit is contained in:
@@ -678,7 +678,7 @@ class ModuleDNS : public Module
|
||||
if (!Me->IsSynced() || this->readd_connected_servers)
|
||||
{
|
||||
DNSServer *dns = DNSServer::Find(s->GetName());
|
||||
if (dns && dns->Pooled() && !dns->Active() && !dns->GetIPs().empty() && dns->GetLimit() < s->users)
|
||||
if (dns && dns->Pooled() && !dns->Active() && !dns->GetIPs().empty())
|
||||
{
|
||||
dns->SetActive(true);
|
||||
Log(this) << "Pooling server " << s->GetName();
|
||||
|
||||
Reference in New Issue
Block a user