From d2b6b9f308ed8e4db537a4496b5e655d6efea112 Mon Sep 17 00:00:00 2001 From: Valeriy Yatsko Date: Mon, 22 Dec 2008 12:58:33 +0300 Subject: [PATCH] [ratbox3 svn r26284 by androsyn] spew the libratbox version info on -version and at startup --- src/ircd.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/ircd.c b/src/ircd.c index a5c7bcdb..8adc8ccc 100644 --- a/src/ircd.c +++ b/src/ircd.c @@ -157,6 +157,7 @@ print_startup(int pid) inotice("now running in %s mode from %s as pid %d ...", !server_state_foreground ? "background" : "foreground", ConfigFileEntry.dpath, pid); + inotice("%s", rb_lib_version()); /* let the parent process know the initialization was successful * -- jilles */ @@ -598,6 +599,7 @@ main(int argc, char *argv[]) if(printVersion) { printf("ircd: version %s(%s)\n", ircd_version, serno); + printf("ircd: %s\n", rb_lib_version()); exit(EXIT_SUCCESS); }