#include "patchlevel.h"
#include "serno.h"
#include "sslproc.h"
+#include "wsproc.h"
#include "chmode.h"
#include "privilege.h"
#include "bandbi.h"
-#include "authd.h"
+#include "authproc.h"
#include "operhash.h"
/* /quote set variables */
construct_cflags_strings();
- load_all_modules(1);
- load_core_modules(1);
-
init_authd(); /* Start up authd. */
init_dns(); /* Start up DNS query system */
mod_add_path(MODULE_DIR);
mod_add_path(MODULE_DIR "/autoload");
+ load_all_modules(1);
+ load_core_modules(1);
init_isupport();
init_bandb();
init_ssld();
+ init_wsockd();
rehash_bans();
return 0; /* Why? We want the launcher to exit out. */
}
- configure_authd();
-
me.from = &me;
me.servptr = &me;
SetMe(&me);
load_help();
open_logfiles();
+ configure_authd();
+
ilog(L_MAIN, "Server Ready");
/* We want try_connections to be called as soon as possible now! -- adrian */