#include "serno.h"
#include "sslproc.h"
#include "chmode.h"
+#include "privilege.h"
/* /quote set variables */
struct SetOptions GlobalSetOptions;
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);
}
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);
if(printVersion)
{
printf("ircd: version %s(%s)\n", ircd_version, serno);
+ printf("ircd: %s\n", rb_lib_version());
exit(EXIT_SUCCESS);
}
if(!server_state_foreground)
make_daemon();
inotice("starting %s ...", ircd_version);
+ inotice("%s", rb_lib_version());
}
/* Init the event subsystem */
#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");