From 0edb29fa2e82c578bb1cc80052a9a47da21988e8 Mon Sep 17 00:00:00 2001 From: Valery Yatsko Date: Wed, 2 Apr 2008 05:47:12 +0400 Subject: [PATCH] Fixed a ratbox lib call as it is in ircd-ratbox-3 --- src/ircd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ircd.c b/src/ircd.c index aab1d454..5cdce481 100644 --- a/src/ircd.c +++ b/src/ircd.c @@ -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();