mirror of
https://github.com/matrix-construct/construct
synced 2024-11-18 07:50:57 +01:00
If a privset is removed from ircd.conf, wipe its privs.
(Privsets continue to exist as long as they are referenced.)
This commit is contained in:
parent
3a17735469
commit
106c88737f
1 changed files with 2 additions and 0 deletions
|
@ -173,6 +173,8 @@ privilegeset_mark_all_illegal(void)
|
|||
continue;
|
||||
|
||||
set->status |= CONF_ILLEGAL;
|
||||
rb_free(set->privs);
|
||||
set->privs = rb_strdup("");
|
||||
/* but do not free it yet */
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue