Fixed a ratbox lib call as it is in ircd-ratbox-3
This commit is contained in:
parent
12aea5fecd
commit
0edb29fa2e
1 changed files with 2 additions and 2 deletions
|
@ -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 a new issue