Commit graph

9 commits

Author SHA1 Message Date
Jilles Tjoelker
106c88737f If a privset is removed from ircd.conf, wipe its privs.
(Privsets continue to exist as long as they are referenced.)
2009-01-18 01:39:41 +01:00
Jilles Tjoelker
3a17735469 Change /stats O to show privset blocks (oper only).
To show operator blocks, only /stats o (lowercase) now works.
2009-01-18 01:35:24 +01:00
Jilles Tjoelker
a1d2fafd55 Make sure default privset remains available, fixes various crashes
with default/invalid privsets and rehashing.
2008-12-27 23:13:48 +01:00
Jilles Tjoelker
422bb0b553 Make rehashing privset{} change online oper privileges.
This also fixes memory leak due to multiple privsets
with the same name (added after each rehash).
2008-12-14 18:25:15 +01:00
William Pitcock
598b4cf10c privilegeset_ref(): return the privilegeset 2008-08-17 08:22:56 -05:00
William Pitcock
76de88805d same bug 2008-08-17 07:47:06 -05:00
William Pitcock
f80958276f Make sure extended privilege sets are added to the registry. 2008-08-17 07:44:46 -05:00
William Pitcock
353f862553 Add privilegeset_extend(). 2008-08-17 06:35:49 -05:00
William Pitcock
9c3f080b99 Add basic PrivilegeSet API. 2008-08-17 06:27:59 -05:00