From 1b128373c2acb747c3827cdfd9c1863fb8492d62 Mon Sep 17 00:00:00 2001 From: brain Date: Mon, 5 Feb 2007 22:29:02 +0000 Subject: Not safe for use yet git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6502 e03df62e-2008-0410-955e-edbf42e46eb7 --- include/socket.h | 1 + include/users.h | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/socket.h b/include/socket.h index eebc172cf..63546f887 100644 --- a/include/socket.h +++ b/include/socket.h @@ -151,6 +151,7 @@ class ListenSocket : public EventHandler */ InspIRCd* ServerInstance; std::string desc; + int family; public: /** Create a new listening socket */ diff --git a/include/users.h b/include/users.h index 487bbb2ba..709f4b739 100644 --- a/include/users.h +++ b/include/users.h @@ -708,7 +708,7 @@ class userrec : public connection * @param ip The IP address of the user * @return This function has no return value, but a call to AddClient may remove the user. */ - static void AddClient(InspIRCd* Instance, int socket, int port, bool iscached, insp_inaddr ip); + static void AddClient(InspIRCd* Instance, int socket, int port, bool iscached, int socketfamily, sockaddr* ip); /** Oper down. * This will clear the +o usermode and unset the user's oper type -- cgit v1.2.3