aboutsummaryrefslogtreecommitdiffstats
path: root/src/dnsqueue.cpp
diff options
context:
space:
mode:
authorGravatar brain2006-07-14 12:15:08 +0000
committerGravatar brain2006-07-14 12:15:08 +0000
commit5674f09f9af881d8b905f0da97489d971e9dc250 (patch)
tree5244561f95f8b15b957908201e21a13cf8f33e5b /src/dnsqueue.cpp
parentFix sometimes-leaking dns sockets when user quits between the two lookups (fo... (diff)
Rollback dns change
svn merge -r 4383:4379 svn+ssh://neuron/usr/local/svnroot/branches/1_0_stable git-svn-id: http://svn.inspircd.org/repository/branches/1_0_stable@4385 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/dnsqueue.cpp')
-rw-r--r--src/dnsqueue.cpp16
1 files changed, 1 insertions, 15 deletions
diff --git a/src/dnsqueue.cpp b/src/dnsqueue.cpp
index 1617a3843..285c556fe 100644
--- a/src/dnsqueue.cpp
+++ b/src/dnsqueue.cpp
@@ -95,9 +95,6 @@ public:
}
strlcpy(u,nick.c_str(),NICKMAX-1);
-#ifndef THREADED_DNS
- usr->dns_fd = resolver1.GetFD();
-#endif
/* ASSOCIATE WITH DNS LOOKUP LIST */
if (resolver1.GetFD() != -1)
{
@@ -143,9 +140,6 @@ public:
WriteServ(usr->fd,"NOTICE Auth :*** Found your hostname");
}
usr->dns_done = true;
-#ifndef THREADED_DNS
- usr->dns_fd = -1;
-#endif
return true;
}
}
@@ -156,9 +150,6 @@ public:
if (usr)
{
usr->dns_done = true;
-#ifndef THREADED_DNS
- usr->dns_fd = -1;
-#endif
}
return true;
}
@@ -191,16 +182,11 @@ public:
return true;
}
}
- if ((hostname != "") && (usr))
+ if (hostname != "")
{
resolver2.ForwardLookup(hostname);
if (resolver2.GetFD() != -1)
- {
dnslist[resolver2.GetFD()] = this;
-#ifndef THREADED_DNS
- usr->dns_fd = resolver2.GetFD();
-#endif
- }
}
}
}