diff options
-rw-r--r-- | src/inspircd_io.cpp | 12 |
1 files changed, 0 insertions, 12 deletions
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); } |