From 2dffa0a4632d5165c623e4d1e32d1b12f3558694 Mon Sep 17 00:00:00 2001 From: brain Date: Sun, 27 Nov 2005 16:39:48 +0000 Subject: 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 --- src/socket.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/socket.cpp') 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) -- cgit v1.3.1-10-gc9f91