X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=win%2Fconfigure.cpp;h=b6f009fda386a895e6c9917fd2e02f2e9145f4e6;hb=b4be0c94ab5fb7e5a7a799a195c78de072a5e315;hp=56b396bc2f53db521bf7f15a3ed90c942cc488f5;hpb=b6dbd6caab62bc2c0d11ce5a45d511611eb9c2ef;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/win/configure.cpp b/win/configure.cpp index 56b396bc2..b6f009fda 100644 --- a/win/configure.cpp +++ b/win/configure.cpp @@ -190,7 +190,6 @@ void Banner() void Run() { bool use_iocp = false; - bool support_ip6links = true; bool use_openssl = false; bool ipv6 = true; char mod_path[MAX_PATH]; @@ -242,11 +241,6 @@ void Run() ipv6 = get_bool_option("Do you want to enable IPv6?", false); - if (!ipv6) - support_ip6links = get_bool_option("\nYou have chosen to build an \033[1;32mIPV4-only\033[0m server.\nWould you like to enable support for linking to IPV6-enabled InspIRCd servers?\nIf you are using a recent operating system and are unsure, answer yes.\nIf you answer 'no' here, your InspIRCd server will be unable\nto parse IPV6 addresses (e.g. for CIDR bans)", true); - else - support_ip6links = true; - printf_c("\033[1mAll paths are relative to the binary directory.\033[0m\n"); get_string_option("In what directory do you wish to install the InspIRCd base?", "..", base_path); get_string_option("In what directory are the configuration files?", "../conf", config_file); @@ -339,8 +333,6 @@ void Run() fprintf(f, "#define LIBRARYDIR \"%s\"\n", library_dir); fprintf(f, "#define VERSION \"%s\"\n", version); fprintf(f, "#define REVISION \"%s\"\n", revision_text); - if(support_ip6links) - fprintf(f, "#define SUPPORT_IP6LINKS 1\n"); OSVERSIONINFO vi; vi.dwOSVersionInfoSize = sizeof(OSVERSIONINFO);