summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/configreader.cpp2
-rw-r--r--src/users.cpp2
2 files changed, 1 insertions, 3 deletions
diff --git a/src/configreader.cpp b/src/configreader.cpp
index 853e0d80f..220026155 100644
--- a/src/configreader.cpp
+++ b/src/configreader.cpp
@@ -66,7 +66,6 @@ ServerConfig::ServerConfig()
{
RawLog = HideBans = HideSplits = false;
WildcardIPv6 = true;
- dns_timeout = 5;
MaxTargets = 20;
NetBufferSize = 10240;
MaxConn = SOMAXCONN;
@@ -419,7 +418,6 @@ void ServerConfig::Fill()
ServerDesc = server->getString("description", "Configure Me");
Network = server->getString("network", "Network");
NetBufferSize = ConfValue("performance")->getInt("netbuffersize", 10240, 1024, 65534);
- dns_timeout = ConfValue("dns")->getInt("timeout", 5);
DisabledCommands = ConfValue("disabled")->getString("commands", "");
DisabledDontExist = ConfValue("disabled")->getBool("fakenonexistant");
UserStats = security->getString("userstats");
diff --git a/src/users.cpp b/src/users.cpp
index a84e12b4a..dd0d54286 100644
--- a/src/users.cpp
+++ b/src/users.cpp
@@ -494,7 +494,7 @@ void LocalUser::CheckClass(bool clone_count)
}
}
- this->nping = ServerInstance->Time() + a->GetPingTime() + ServerInstance->Config->dns_timeout;
+ this->nping = ServerInstance->Time() + a->GetPingTime();
}
bool LocalUser::CheckLines(bool doZline)