From 9bc04a302572eb311a147a32ff1d36f1d91f2d7a Mon Sep 17 00:00:00 2001 From: brain Date: Wed, 9 Aug 2006 18:55:52 +0000 Subject: userrec and chanrec now have their own independent pointer back to their 'creator' InspIRCd* object, extern now longer required in channels.cpp or users.cpp git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4820 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/inspircd.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/inspircd.cpp') 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); } -- cgit v1.2.3