X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Finspsocket.cpp;h=f06ddf28d84d1ef96b6fec587cc6ff193b5b8229;hb=4498f1abd163b140efcbbd9e75173665c9b1c29f;hp=1fbe3b5abbc9fed6866dc098058437b38cce7ce8;hpb=aca3ddf2307fd69c1fe0a396084d1f8ff758af26;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/inspsocket.cpp b/src/inspsocket.cpp index 1fbe3b5ab..f06ddf28d 100644 --- a/src/inspsocket.cpp +++ b/src/inspsocket.cpp @@ -131,6 +131,7 @@ void StreamSocket::Close() ServerInstance->Logs->Log("SOCKET", DEFAULT,"%s threw an exception: %s", modexcept.GetSource(), modexcept.GetReason()); } + IOHook = NULL; } ServerInstance->SE->Shutdown(this, 2); ServerInstance->SE->DelFd(this);