]> jfr.im git - irc/rqf/shadowircd.git/blobdiff - src/ircd.c
Add new constants for presence key/value lengths
[irc/rqf/shadowircd.git] / src / ircd.c
index 1f8922799a30b63bf76680dc65a013433d7cc2fd..6a8a3d4c1bac63861a7c6eae9e5854ab870f3f79 100644 (file)
@@ -66,6 +66,7 @@
 #include "serno.h"
 #include "sslproc.h"
 #include "chmode.h"
+#include "privilege.h"
 
 /* /quote set variables */
 struct SetOptions GlobalSetOptions;
@@ -597,6 +598,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);
        }
 
@@ -625,6 +627,7 @@ main(int argc, char *argv[])
                if(!server_state_foreground)
                        make_daemon();
                inotice("starting %s ...", ircd_version);
+               inotice("%s", rb_lib_version());
        }
 
        /* Init the event subsystem */
@@ -662,6 +665,7 @@ main(int argc, char *argv[])
 #endif
        init_auth();            /* Initialise the auth code */
        init_resolver();        /* Needs to be setup before the io loop */
+       privilegeset_set_new("default", "", 0);
 
        if (testing_conf)
                fprintf(stderr, "\nBeginning config test\n");