From 94555087a15a75d6f869f0c9d9dfc940fe307839 Mon Sep 17 00:00:00 2001 From: William Pitcock Date: Sat, 18 Jun 2016 01:05:38 -0500 Subject: [PATCH] ircd: relocate_paths() back on windows only now --- ircd/ircd.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ircd/ircd.c b/ircd/ircd.c index 84096b3d..d249728c 100644 --- a/ircd/ircd.c +++ b/ircd/ircd.c @@ -409,6 +409,7 @@ initialize_server_capabs(void) default_server_capabs &= ~CAP_ZIP; } +#ifdef _WIN32 /* * relocate_paths * @@ -492,6 +493,7 @@ relocate_paths(void) inotice(" %s: %s", ircd_pathnames[i], ircd_paths[i]); } } +#endif /* * write_pidfile @@ -682,7 +684,9 @@ charybdis_main(int argc, char * const argv[]) } #endif +#ifdef _WIN32 relocate_paths(); +#endif logFileName = ircd_paths[IRCD_PATH_IRCD_LOG]; pidFileName = ircd_paths[IRCD_PATH_IRCD_PID];