summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/inspircd.cpp4
-rw-r--r--win/inspircd_win32wrapper.h1
2 files changed, 2 insertions, 3 deletions
diff --git a/src/inspircd.cpp b/src/inspircd.cpp
index 7e81df32b..41b524628 100644
--- a/src/inspircd.cpp
+++ b/src/inspircd.cpp
@@ -46,7 +46,7 @@ InspIRCd* SI = NULL;
/* Burlex: Moved from exitcodes.h -- due to duplicate symbols */
const char* ExitCodes[] =
{
- "No error", /* 0 */
+ "No error", /* 0 */
"DIE command", /* 1 */
"execv() failed", /* 2 */
"Internal error", /* 3 */
@@ -277,7 +277,7 @@ bool InspIRCd::DaemonSeed()
sh.lpVerb = 0;
sh.lpDirectory = 0;
sh.hInstApp = 0;
- sh.nShow = SW_SHOW;
+ sh.nShow = SW_HIDE;
sh.lpFile = "inspircd.exe";
sh.lpParameters = "--service";
if(!ShellExecuteEx(&sh))
diff --git a/win/inspircd_win32wrapper.h b/win/inspircd_win32wrapper.h
index 9ac6298b2..dc1157545 100644
--- a/win/inspircd_win32wrapper.h
+++ b/win/inspircd_win32wrapper.h
@@ -24,7 +24,6 @@
/* Make builds smaller, leaner and faster */
#define VC_EXTRALEAN
-#define WIN32_LEAN_AND_MEAN
/* Begone shitty 'safe STL' warnings */
#define _SCL_SECURE_NO_WARNINGS