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 12aea5fecd
commit 0edb29fa2e

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