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 3619e29987
commit 564b19bf9a
1 changed files with 2 additions and 0 deletions

View File

@ -173,6 +173,8 @@ privilegeset_mark_all_illegal(void)
continue; continue;
set->status |= CONF_ILLEGAL; set->status |= CONF_ILLEGAL;
rb_free(set->privs);
set->privs = rb_strdup("");
/* but do not free it yet */ /* but do not free it yet */
} }
} }