]> jfr.im git - irc/rqf/shadowircd.git/commitdiff
[ratbox3 svn r26284 by androsyn] spew the libratbox version info on -version and...
authorValeriy Yatsko <redacted>
Mon, 22 Dec 2008 09:58:33 +0000 (12:58 +0300)
committerValeriy Yatsko <redacted>
Mon, 22 Dec 2008 09:58:33 +0000 (12:58 +0300)
src/ircd.c

index a5c7bcdbedcca7906a03deefc9061b332e9aeff6..8adc8ccc2d3dcb51ac6904bf329bce161bcbf00d 100644 (file)
@@ -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);
        }