From be28c7f3c74f5f856be74ebef88316bc69c583b9 Mon Sep 17 00:00:00 2001 From: brain Date: Thu, 7 Sep 2006 20:20:39 +0000 Subject: 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 --- src/inspsocket.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/inspsocket.cpp') 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; } } -- cgit v1.3.1-10-gc9f91