summaryrefslogtreecommitdiff
path: root/src/dnsqueue.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-08-01 11:46:19 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-08-01 11:46:19 +0000
commit4488e477136ea3daa60a744bac272cc37a604136 (patch)
tree49ec2884832cea192feb6a667f9ec8d352c14199 /src/dnsqueue.cpp
parent4789b3f6536ef8267c79c7cb3ee6678546c2150b (diff)
The IPV6 stuff compiles now, with compile-correct ipv6 code. I dont know if this works yet.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4611 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/dnsqueue.cpp')
-rw-r--r--src/dnsqueue.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dnsqueue.cpp b/src/dnsqueue.cpp
index 51a7e1964..e9265fc37 100644
--- a/src/dnsqueue.cpp
+++ b/src/dnsqueue.cpp
@@ -113,7 +113,7 @@ public:
}
if ((hostname != "") && (usr->registered != REG_ALL))
{
- if ((std::string(inet_ntoa(usr->ip4)) == ip) && (hostname.length() < 65))
+ if ((std::string(insp_ntoa(usr->ip4)) == ip) && (hostname.length() < 65))
{
if ((hostname.find_last_of(".in-addr.arpa") == hostname.length() - 1) && (hostname.find_last_of(".in-addr.arpa") != std::string::npos))
{