+ if(close_only) {
+ if((client->flags & SOCKET_FLAG_CONNECTED))
+ iohandler_printf(client->iofd, "QUIT :[NeonServ %s.%d] shutdown requested.\n", NEONSERV_VERSION, patchlevel);
+ } else
+ destroy_socket(client);
+ }
+ if(!close_only) {
+ free(sockets);
+ sockets = NULL;