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
3619e29987
commit
564b19bf9a
|
@ -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 New Issue