summaryrefslogtreecommitdiff
path: root/src/dns.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-07-14 12:14:42 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-07-14 12:14:42 +0000
commit174169ac35321eedae9df6aabe7833b7df6b0279 (patch)
tree58f111de322f1dde4b928d396ed9b724930fb56d /src/dns.cpp
parentccb1837a1481ed3d9048f2e4d0d5d6309f14d17d (diff)
Rollback dns change
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4384 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/dns.cpp')
-rw-r--r--src/dns.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/dns.cpp b/src/dns.cpp
index e3a32a745..e8b15c9bf 100644
--- a/src/dns.cpp
+++ b/src/dns.cpp
@@ -702,11 +702,6 @@ void DNS::SetNS(const std::string &dnsserver)
DNS::~DNS()
{
- if (this->myfd > -1)
- {
- log(DEBUG,"HA! An FD tried to sneak by unnoticed - freed it.");
- dns_close(this->myfd);
- }
}
bool DNS::ReverseLookup(const std::string &ip, bool ins)