summaryrefslogtreecommitdiff
path: root/src/config.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2010-09-16 22:21:55 -0400
committerAdam <Adam@anope.org>2010-09-16 22:21:55 -0400
commit61e75646339753609d25aad0f4f8f60db1c966b5 (patch)
tree43cca7040156e014a57a8cb096c13137395e3250 /src/config.cpp
parent86c1dab2863f228e92ce7e0bd23ffb17cda0242b (diff)
Fixed connecting back to the nameserver if we lose connection, and detecting the nameserver
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())
{