diff options
| author | 2005-12-12 12:49:12 +0000 | |
|---|---|---|
| committer | 2005-12-12 12:49:12 +0000 | |
| commit | 2e816169a426511ec7c2a45b7bc7947358310b2d (patch) | |
| tree | db312b948d3821367f96c80cf713aed3194ad583 /src/dns.cpp | |
| parent | *EXPERIMENTAL* Tied DNS into new socket engine (diff) | |
Attempts to make DNS nicer with new socket engine
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2332 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/dns.cpp')
| -rw-r--r-- | src/dns.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/dns.cpp b/src/dns.cpp index a0e36e600..0fd8b5602 100644 --- a/src/dns.cpp +++ b/src/dns.cpp @@ -688,6 +688,11 @@ bool DNS::ForwardLookup(std::string host) return true; } +bool DNS::HasResult(int fd) +{ + return (fd == this->myfd); +} + bool DNS::HasResult() { log(DEBUG,"DNS: HasResult, fd=%d",this->myfd); |
