diff options
Diffstat (limited to 'src/inspircd.cpp')
-rw-r--r-- | src/inspircd.cpp | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/inspircd.cpp b/src/inspircd.cpp index 3c11cc82e..95ddca394 100644 --- a/src/inspircd.cpp +++ b/src/inspircd.cpp @@ -441,12 +441,6 @@ InspIRCd::InspIRCd(int argc, char** argv) Exit(EXIT_STATUS_NOERROR); } -#ifdef _WIN32 - // Set up winsock - WSADATA wsadata; - WSAStartup(MAKEWORD(2,2), &wsadata); -#endif - /* Set the finished argument values */ Config->cmdline.nofork = (do_nofork != 0); Config->cmdline.forcedebug = (do_debug != 0); @@ -470,6 +464,8 @@ InspIRCd::InspIRCd(int argc, char** argv) std::cout << con_green << "InspIRCd - Internet Relay Chat Daemon" << con_reset << std::endl; std::cout << "For contributors & authors: " << con_green << "See /INFO Output" << con_reset << std::endl; + + #ifndef _WIN32 if (!do_root) this->CheckRoot(); |