0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-09-30 12:48:54 +02:00

ircd: relocate_paths() back on windows only now

This commit is contained in:
William Pitcock 2016-06-18 01:05:38 -05:00
parent 2185c50aad
commit 94555087a1

View file

@ -409,6 +409,7 @@ initialize_server_capabs(void)
default_server_capabs &= ~CAP_ZIP; default_server_capabs &= ~CAP_ZIP;
} }
#ifdef _WIN32
/* /*
* relocate_paths * relocate_paths
* *
@ -492,6 +493,7 @@ relocate_paths(void)
inotice(" %s: %s", ircd_pathnames[i], ircd_paths[i]); inotice(" %s: %s", ircd_pathnames[i], ircd_paths[i]);
} }
} }
#endif
/* /*
* write_pidfile * write_pidfile
@ -682,7 +684,9 @@ charybdis_main(int argc, char * const argv[])
} }
#endif #endif
#ifdef _WIN32
relocate_paths(); relocate_paths();
#endif
logFileName = ircd_paths[IRCD_PATH_IRCD_LOG]; logFileName = ircd_paths[IRCD_PATH_IRCD_LOG];
pidFileName = ircd_paths[IRCD_PATH_IRCD_PID]; pidFileName = ircd_paths[IRCD_PATH_IRCD_PID];