]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/socket.cpp
Fixed m_saquit to direct the command to the user's server and from there send a QUIT...
[user/henk/code/inspircd.git] / src / socket.cpp
index c33eee5a6aee2a352cd4414c5dfcdb4f5075b84d..38178cab8bacc97940d72596cc3dae7d527176b4 100644 (file)
@@ -120,7 +120,7 @@ void ListenSocket::HandleEvent(EventType et, int errornum)
        else
        {
                ServerInstance->SE->Shutdown(incomingSockfd, 2);
-               close(incomingSockfd);
+               ServerInstance->SE->Close(incomingSockfd);
                ServerInstance->stats->statsRefused++;
        }
        delete[] client;