summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2008-04-11 16:03:39 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2008-04-11 16:03:39 +0000
commit9a7af3161c2531c88424d43a88cee6eccf7d6117 (patch)
treed062c0cb4af5d2116f447e03ee96a33b390083f0
parentd75ec0e5a59c32069b15e6ecf91d71ed62c21442 (diff)
Fix sillies
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9457 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r--src/users.cpp2
1 files changed, 1 insertions, 1 deletions
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;