#include "numeric.h"
#include "parse.h"
#include "restart.h"
-#include "s_auth.h"
#include "s_conf.h"
#include "logger.h"
#include "s_serv.h" /* try_connections */
* output - none
* side effects - items in ircd_paths[] array are relocated
*/
+#ifdef _WIN32
static void
relocate_paths(void)
{
ircd_paths[IRCD_PATH_BIN] = rb_strdup(workbuf);
ircd_paths[IRCD_PATH_LIBEXEC] = rb_strdup(workbuf);
}
+#endif
/*
* write_pidfile
}
#endif
-#ifndef ENABLE_FHS_PATHS
+#ifdef _WIN32
relocate_paths();
#endif
load_all_modules(1);
load_core_modules(1);
- init_auth(); /* Initialise the auth code */
init_authd(); /* Start up authd. */
init_dns(); /* Start up DNS query system */
return 0; /* Why? We want the launcher to exit out. */
}
+ configure_authd();
+
me.from = &me;
me.servptr = &me;
SetMe(&me);