From 4c1a91ed4bc405366f7b309a5f2d5c4672f3b74f Mon Sep 17 00:00:00 2001 From: William Pitcock Date: Tue, 1 Apr 2008 15:10:43 -0500 Subject: [PATCH] Initialize libratbox. --- src/ircd.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/ircd.c b/src/ircd.c index a134e91..40993b1 100644 --- a/src/ircd.c +++ b/src/ircd.c @@ -111,6 +111,12 @@ ircd_log_cb(const char *str) ilog(L_MAIN, "%s", str); } +static void +ircd_restart_cb(const char *str) +{ + ilog(L_MAIN, "%s", str); +} + /* * Why EXIT_FAILURE here? * Because if ircd_die_cb() is called it's because of a fatal @@ -554,6 +560,7 @@ main(int argc, char *argv[]) /* Init the event subsystem */ init_sys(); libcharybdis_init(ircd_log_cb, restart, ircd_die_cb); + rb_lib_init(ircd_log_cb, restart, ircd_die_cb); fdlist_init(); if(!server_state_foreground)