]> jfr.im git - irc/rqf/shadowircd.git/commitdiff
ircd initialization: add a "default" privset with no privs.
authorWilliam Pitcock <redacted>
Sun, 17 Aug 2008 13:06:28 +0000 (08:06 -0500)
committerWilliam Pitcock <redacted>
Sun, 17 Aug 2008 13:06:28 +0000 (08:06 -0500)
src/ircd.c

index 1f8922799a30b63bf76680dc65a013433d7cc2fd..a5c7bcdbedcca7906a03deefc9061b332e9aeff6 100644 (file)
@@ -66,6 +66,7 @@
 #include "serno.h"
 #include "sslproc.h"
 #include "chmode.h"
+#include "privilege.h"
 
 /* /quote set variables */
 struct SetOptions GlobalSetOptions;
@@ -662,6 +663,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");