diff options
Diffstat (limited to 'src/inspircd.cpp')
-rw-r--r-- | src/inspircd.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/inspircd.cpp b/src/inspircd.cpp index ecda5abb9..b0e6b1073 100644 --- a/src/inspircd.cpp +++ b/src/inspircd.cpp @@ -853,10 +853,10 @@ void InspIRCd::DoOneIteration(bool process_module_sockets) stats->statsAccept++; #ifdef IPV6 log(DEBUG,"Add ipv6 client"); - AddClient(incomingSockfd, in_port, false, client.sin6_addr); + userrec::AddClient(this, incomingSockfd, in_port, false, client.sin6_addr); #else log(DEBUG,"Add ipv4 client"); - userrec::AddClient(incomingSockfd, in_port, false, client.sin_addr); + userrec::AddClient(this, incomingSockfd, in_port, false, client.sin_addr); #endif log(DEBUG,"Adding client on port %d fd=%d",in_port,incomingSockfd); } |