mirror of
https://github.com/inspircd/inspircd.git
synced 2025-03-11 11:39:02 -04:00
Fix sillies
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9457 e03df62e-2008-0410-955e-edbf42e46eb7
This commit is contained in:
parent
d75ec0e5a5
commit
9a7af3161c
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user