summaryrefslogtreecommitdiff
path: root/modules/commands/os_dns.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2012-12-25 01:23:10 -0500
committerAdam <Adam@anope.org>2012-12-25 12:36:58 -0500
commiteab583310d4800913d0b8bb710e79f405f1342b6 (patch)
tree0484ab2ddfa1c199eb41323af979e820f3ca319d /modules/commands/os_dns.cpp
parent077ae273698c7e0f22e96dc22ac1a2632b4352d4 (diff)
Don't check userlimit when servers first connect, servers wont have any users at that point anyway
Diffstat (limited to 'modules/commands/os_dns.cpp')
-rw-r--r--modules/commands/os_dns.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/commands/os_dns.cpp b/modules/commands/os_dns.cpp
index 714203c59..757266e89 100644
--- a/modules/commands/os_dns.cpp
+++ b/modules/commands/os_dns.cpp
@@ -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();