aboutsummaryrefslogtreecommitdiffstats
path: root/src/dns.cpp
diff options
context:
space:
mode:
authorGravatar brain2006-05-03 09:23:31 +0000
committerGravatar brain2006-05-03 09:23:31 +0000
commit25b2cf5ec22de50ca0b34ce6cb4b54a0d3d4b566 (patch)
tree795a1266fb75c933bc2fa2a76866b8c3376ee0f3 /src/dns.cpp
parentNow doesnt crash on rare occaisions (diff)
Return false; was missing
git-svn-id: http://svn.inspircd.org/repository/branches/1_0_stable@3927 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/dns.cpp')
-rw-r--r--src/dns.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dns.cpp b/src/dns.cpp
index dc25fe8fe..238b53d45 100644
--- a/src/dns.cpp
+++ b/src/dns.cpp
@@ -748,7 +748,7 @@ bool DNS::ForwardLookupWithFD(const std::string &host, int &fd)
fd = this->myfd;
if (this->myfd == -1)
{
-
+ return false;
}
log(DEBUG,"DNS: ForwardLookupWithFD, fd=%d",this->myfd);
if (ServerInstance && ServerInstance->SE)