summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-04-17 01:05:20 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-04-17 01:05:20 +0000
commit475ad91b7ecd9e47027b6460bc997cdff317ec7a (patch)
tree24b185fc620235235ff08b5a66d759828d226063 /src
parent668df37516e3ee3555aa7085f10d54bda3b4e426 (diff)
Removed some old uneeded code
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1113 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r--src/inspircd_io.cpp12
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);
}