Simply return address, don't allow self_ip to be possibly written as something else

This commit is contained in:
JugadorXEI 2021-04-13 06:56:14 +02:00
parent d7e8642236
commit ea56bd472c

View file

@ -361,8 +361,7 @@ static const char *DRPC_GetServerIP(void)
{
// We're not the server, so we could successfully get the IP!
// No need to do anything else :)
strcpy(self_ip, address);
return self_ip;
return address;
}
}