Fix error in function to send client's IP

Signed-off-by: Nightmaster <nightmaster@seitaer.com>