Fixed a ratbox lib call as it is in ircd-ratbox-3
This commit is contained in:
parent
9e29fe51e5
commit
15f1b609dc
|
@ -111,7 +111,7 @@ ircd_log_cb(const char *str)
|
|||
static void
|
||||
ircd_restart_cb(const char *str)
|
||||
{
|
||||
ilog(L_MAIN, "%s", str);
|
||||
restart(buf);
|
||||
}
|
||||
|
||||
/*
|
||||
|
@ -558,7 +558,7 @@ main(int argc, char *argv[])
|
|||
|
||||
/* Init the event subsystem */
|
||||
init_sys();
|
||||
rb_lib_init(ircd_log_cb, restart, ircd_die_cb, !server_state_foreground, maxconnections, DNODE_HEAP_SIZE, FD_HEAP_SIZE);
|
||||
rb_lib_init(ircd_log_cb, ircd_restart_cb, ircd_die_cb, !server_state_foreground, maxconnections, DNODE_HEAP_SIZE, FD_HEAP_SIZE);
|
||||
|
||||
init_main_logfile();
|
||||
newconf_init();
|
||||
|
|
Loading…
Reference in New Issue