summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/socket.h1
-rw-r--r--include/users.h2
2 files changed, 2 insertions, 1 deletions
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