From 8000befea5b8e5a9b4af66befb84e4c7c8ef6926 Mon Sep 17 00:00:00 2001 From: brain Date: Mon, 5 Feb 2007 23:26:43 +0000 Subject: Fix typo git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6505 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/users.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/users.cpp') 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 -- cgit v1.2.3