From 9a7af3161c2531c88424d43a88cee6eccf7d6117 Mon Sep 17 00:00:00 2001 From: brain Date: Fri, 11 Apr 2008 16:03:39 +0000 Subject: Fix sillies git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9457 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/users.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/users.cpp b/src/users.cpp index 6efbee651..cdacdc5c2 100644 --- a/src/users.cpp +++ b/src/users.cpp @@ -1096,7 +1096,7 @@ const char* User::GetIPString(bool translate4in6) { strlcpy(&temp[1], buf, sizeof(temp) - 1); *temp = '0'; - if (translate4in6 && !strncmp(GetIPString(), "0::ffff:", 8)) + if (translate4in6 && !strncmp(temp, "0::ffff:", 8)) { this->cachedip = temp + 8; return temp + 8; -- cgit v1.2.3