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:
Jilles Tjoelker 2009-01-18 01:39:41 +01:00
parent 3a17735469
commit 106c88737f

View file

@ -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 */
}
}