Fixed a ratbox lib call as it is in ircd-ratbox-3

This commit is contained in:
Valery Yatsko 2008-04-02 05:47:12 +04:00
parent 9e29fe51e5
commit 15f1b609dc
1 changed files with 2 additions and 2 deletions

View File

@ -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();