From d336a2499746765fcea81164db1a6a21b1b5384d Mon Sep 17 00:00:00 2001 From: brain Date: Sat, 26 Nov 2005 21:58:07 +0000 Subject: Added reading of server link configs git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1960 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/socket.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/socket.cpp') diff --git a/src/socket.cpp b/src/socket.cpp index db95b852e..abfd0d51d 100644 --- a/src/socket.cpp +++ b/src/socket.cpp @@ -229,6 +229,11 @@ void InspSocket::SetState(InspSocketState s) this->state = s; } +InspSocketState InspSocket::GetState() +{ + return this->state; +} + bool InspSocket::OnConnected() { return true; } void InspSocket::OnError(InspSocketError e) { return; } int InspSocket::OnDisconnect() { return 0; } -- cgit v1.2.3