diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/users.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/users.cpp b/src/users.cpp index 0580bf54f..cca517332 100644 --- a/src/users.cpp +++ b/src/users.cpp @@ -224,8 +224,7 @@ LocalUser::LocalUser(int myfd, irc::sockets::sockaddrs* client, irc::sockets::so { lastping = 0; eh.SetFd(myfd); - - SetClientIP(client); + memcpy(&client_sa, client, sizeof(irc::sockets::sockaddrs)); memcpy(&server_sa, servaddr, sizeof(irc::sockets::sockaddrs)); } |