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;
}
#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];