summaryrefslogtreecommitdiff
path: root/src/config.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/config.cpp')
-rw-r--r--src/config.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/config.cpp b/src/config.cpp
index d8ac4f863..ac1f00295 100644
--- a/src/config.cpp
+++ b/src/config.cpp
@@ -358,7 +358,7 @@ ServerConfig::ServerConfig() : errstr(""), config_data()
while (f.is_open() && getline(f, server.str()))
{
- if (server.find("nameserver ") == 0 && getline(f, server.str()))
+ if (server.find("nameserver ") == 0)
{
if (server.substr(11).is_pos_number_only())
{