diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-02-05 22:29:02 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-02-05 22:29:02 +0000 |
commit | 1b128373c2acb747c3827cdfd9c1863fb8492d62 (patch) | |
tree | 5dd11888e165f6fa81986dfcaaafcb0c234bddc2 /include | |
parent | bcedc75173f1123065f789a0526f5d2097fc6d99 (diff) |
Not safe for use yet
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6502 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include')
-rw-r--r-- | include/socket.h | 1 | ||||
-rw-r--r-- | include/users.h | 2 |
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 |