]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/inspircd_io.cpp
Fixed strange join behavior reported by w00t (mirc requesting MODE immediately after...
[user/henk/code/inspircd.git] / src / inspircd_io.cpp
index 6df9af3ef4793bd3e17ca2d263615cd49e3dcfab..523af8eb19d8461c7dc050a20f50b1b7314d3f6f 100644 (file)
@@ -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);
 }