summaryrefslogtreecommitdiff
path: root/src/inspsocket.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-09-07 20:20:39 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-09-07 20:20:39 +0000
commitbe28c7f3c74f5f856be74ebef88316bc69c583b9 (patch)
tree21bbffc1e9967a657ddab1b2a9157e3d7ebd623c /src/inspsocket.cpp
parent74e622fbfa004b3c3363fc7bc83ae322c4eb3c5c (diff)
1) Make earlier fix to inspsocket actually compile without error
2) Make sure that query string is sent back in the reply git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5155 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/inspsocket.cpp')
-rw-r--r--src/inspsocket.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/inspsocket.cpp b/src/inspsocket.cpp
index fb9238a97..eb0ee86c8 100644
--- a/src/inspsocket.cpp
+++ b/src/inspsocket.cpp
@@ -356,8 +356,8 @@ bool InspSocket::FlushWriteBuffer()
this->Instance->Log(DEBUG,"Write error on socket: %s",strerror(errno));
this->OnError(I_ERR_WRITE);
this->state = I_ERROR;
- ServerInstance->SE->DelFd(this->sock);
- this->sock->Close();
+ this->Instance->SE->DelFd(this);
+ this->Close();
return true;
}
}