mirror of
https://github.com/matrix-construct/construct
synced 2024-11-18 07:50:57 +01:00
ircd: relocate_paths() back on windows only now
This commit is contained in:
parent
2185c50aad
commit
94555087a1
1 changed files with 4 additions and 0 deletions
|
@ -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];
|
||||||
|
|
Loading…
Reference in a new issue