]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - win/configure.cpp
fix LoopCalls to not send param count thus avoiding a crash in command parser
[user/henk/code/inspircd.git] / win / configure.cpp
index a6dab1ffd78d78fc7b8cfbdea4cff7220609c2f9..40a5ea0d25edbbc4bc6716ba6176243e7f5675b2 100644 (file)
@@ -146,13 +146,7 @@ int __stdcall WinMain(IN HINSTANCE hInstance, IN HINSTANCE hPrevInstance, IN LPS
 {
        if (!strcmp(lpCmdLine, "/rebase"))
        {
-               AllocConsole();
-               // pipe standard handles to this console
-               freopen("CONIN$", "r", stdin);
-               freopen("CONOUT$", "w", stdout);
-               freopen("CONOUT$", "w", stderr);
                Rebase();
-               FreeConsole();
                return 0;
        }
        FILE * j = fopen("inspircd_config.h", "r");