diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-11-26 21:58:07 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-11-26 21:58:07 +0000 |
commit | d336a2499746765fcea81164db1a6a21b1b5384d (patch) | |
tree | 535222594ccb3890e002476ebc7df0d7f0c53818 /src/socket.cpp | |
parent | 21d26b403e30dec3a33aa6fccafdf884f834ed9f (diff) |
Added reading of server link configs
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1960 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/socket.cpp')
-rw-r--r-- | src/socket.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
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; } |