summaryrefslogtreecommitdiff
path: root/src/users.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-02-05 23:26:43 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-02-05 23:26:43 +0000
commit8000befea5b8e5a9b4af66befb84e4c7c8ef6926 (patch)
treeca941188a71696c451bac1ef2d42749000cf7620 /src/users.cpp
parentc91139af8c4360f3ea0f2b79ccd4137bf215effa (diff)
Fix typo
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6505 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/users.cpp')
-rw-r--r--src/users.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/users.cpp b/src/users.cpp
index 3d92de99a..9b47ea87c 100644
--- a/src/users.cpp
+++ b/src/users.cpp
@@ -172,7 +172,7 @@ void UserResolver::OnLookupComplete(const std::string &result, unsigned int ttl,
if (this->bound_user->GetProtocolFamily() == AF_INET6)
{
/* IPV6 forward lookup (with possibility of 4in6) */
- char* ip = this->bound_user->GetIPString();
+ const char* ip = this->bound_user->GetIPString();
bound_user->res_forward = new UserResolver(this->ServerInstance, this->bound_user, result, (strstr(ip,"0::ffff:") == ip ? DNS_QUERY_A : DNS_QUERY_AAAA), cached);
}
else