From 475ad91b7ecd9e47027b6460bc997cdff317ec7a Mon Sep 17 00:00:00 2001 From: brain Date: Sun, 17 Apr 2005 01:05:20 +0000 Subject: Removed some old uneeded code git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1113 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/inspircd_io.cpp | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'src') diff --git a/src/inspircd_io.cpp b/src/inspircd_io.cpp index 6df9af3ef..523af8eb1 100644 --- a/src/inspircd_io.cpp +++ b/src/inspircd_io.cpp @@ -42,13 +42,6 @@ void Exit (int status) if (log_file) fclose(log_file); send_error("Server shutdown."); - - // close down all listening sockets - for (int count = 0; count < boundPortCount; count++) - { - shutdown(openSockfd[count], 2); - } - exit (status); } @@ -57,11 +50,6 @@ void Killed(int status) if (log_file) fclose(log_file); send_error("Server terminated."); - // close down all listening sockets - for (int count = 0; count < boundPortCount; count++) - { - shutdown(openSockfd[count], 2); - } exit(status); } -- cgit v1.2.3