summaryrefslogtreecommitdiff
path: root/win
diff options
context:
space:
mode:
Diffstat (limited to 'win')
-rw-r--r--win/configure.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/win/configure.cpp b/win/configure.cpp
index a6dab1ffd..40a5ea0d2 100644
--- a/win/configure.cpp
+++ b/win/configure.cpp
@@ -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");