diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-11-27 16:39:48 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-11-27 16:39:48 +0000 |
commit | 2dffa0a4632d5165c623e4d1e32d1b12f3558694 (patch) | |
tree | 56f127bdca321bec392745f4ebbb2522ab76d629 /src/socket.cpp | |
parent | 0dda9fb325a4d0053652f937ad06e44942357cc1 (diff) |
Added proper administrativia notices to CONNECT and inbound connections
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1969 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/socket.cpp')
-rw-r--r-- | src/socket.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/socket.cpp b/src/socket.cpp index aa028b8a5..36b6d1d1e 100644 --- a/src/socket.cpp +++ b/src/socket.cpp @@ -48,10 +48,11 @@ InspSocket::InspSocket() this->state = I_DISCONNECTED; } -InspSocket::InspSocket(int newfd) +InspSocket::InspSocket(int newfd, char* ip) { this->fd = newfd; this->state = I_CONNECTED; + this->IP = ip; } InspSocket::InspSocket(std::string host, int port, bool listening, unsigned long maxtime) |