mirror of
https://github.com/matrix-construct/construct
synced 2024-11-26 08:42:34 +01:00
Initialize libratbox.
This commit is contained in:
parent
a8f0b117ba
commit
24e9341af3
1 changed files with 7 additions and 0 deletions
|
@ -111,6 +111,12 @@ ircd_log_cb(const char *str)
|
|||
ilog(L_MAIN, "%s", str);
|
||||
}
|
||||
|
||||
static void
|
||||
ircd_restart_cb(const char *str)
|
||||
{
|
||||
ilog(L_MAIN, "%s", str);
|
||||
}
|
||||
|
||||
/*
|
||||
* Why EXIT_FAILURE here?
|
||||
* Because if ircd_die_cb() is called it's because of a fatal
|
||||
|
@ -554,6 +560,7 @@ main(int argc, char *argv[])
|
|||
/* Init the event subsystem */
|
||||
init_sys();
|
||||
libcharybdis_init(ircd_log_cb, restart, ircd_die_cb);
|
||||
rb_lib_init(ircd_log_cb, restart, ircd_die_cb);
|
||||
|
||||
fdlist_init();
|
||||
if(!server_state_foreground)
|
||||
|
|
Loading…
Reference in a new issue