]> jfr.im git - irc/rqf/shadowircd.git/blobdiff - src/ircd.c
Document need_ssl flags in example.conf.
[irc/rqf/shadowircd.git] / src / ircd.c
index 3036778291f3602954e81d0cc8680cf3a18621db..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;
@@ -453,7 +454,7 @@ ircd_log_cb(const char *str)
 static void
 ircd_restart_cb(const char *str)
 {
-       inotice(L_MAIN, "libratbox has called the restart callback: %s", str);
+       inotice("libratbox has called the restart callback: %s", str);
        restart(str);
 }
 
@@ -474,7 +475,7 @@ ircd_die_cb(const char *str)
                inotice("libratbox has called the die callback..aborting: %s", str);
        }
        else
-               inotice(L_MAIN, "libratbox has called the die callback..aborting");
+               inotice("libratbox has called the die callback..aborting");
 
        unlink(pidFileName);
        exit(EXIT_FAILURE);
@@ -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");