mirror of
https://github.com/matrix-construct/construct
synced 2024-11-29 18:22:50 +01:00
ircd initialization: add a "default" privset with no privs.
This commit is contained in:
parent
5c68d54336
commit
39a68b5376
1 changed files with 2 additions and 0 deletions
|
@ -66,6 +66,7 @@
|
||||||
#include "serno.h"
|
#include "serno.h"
|
||||||
#include "sslproc.h"
|
#include "sslproc.h"
|
||||||
#include "chmode.h"
|
#include "chmode.h"
|
||||||
|
#include "privilege.h"
|
||||||
|
|
||||||
/* /quote set variables */
|
/* /quote set variables */
|
||||||
struct SetOptions GlobalSetOptions;
|
struct SetOptions GlobalSetOptions;
|
||||||
|
@ -662,6 +663,7 @@ main(int argc, char *argv[])
|
||||||
#endif
|
#endif
|
||||||
init_auth(); /* Initialise the auth code */
|
init_auth(); /* Initialise the auth code */
|
||||||
init_resolver(); /* Needs to be setup before the io loop */
|
init_resolver(); /* Needs to be setup before the io loop */
|
||||||
|
privilegeset_set_new("default", "", 0);
|
||||||
|
|
||||||
if (testing_conf)
|
if (testing_conf)
|
||||||
fprintf(stderr, "\nBeginning config test\n");
|
fprintf(stderr, "\nBeginning config test\n");
|
||||||
|
|
Loading…
Reference in a new issue