Add some privsets for opers here.

This commit is contained in:
William Pitcock 2008-08-17 07:17:25 -05:00
parent de0e9f373b
commit 48de3c1852
1 changed files with 19 additions and 0 deletions

View File

@ -185,6 +185,22 @@ auth {
class = "users";
};
/* privsets... XXX document me later */
privset "local_op" {
privs = oper:local_kill, oper:operwall;
};
privset "global_op" {
extends = "local_op";
privs = oper:global_kill, oper:routing, oper:kline, oper:unkline, oper:xline,
oper:resv, oper:mass_notice, oper:remote_ban;
};
privset "admin" {
extends = "global_op";
privs = oper:admin, oper:die, oper:rehash, oper:adminwall, oper:spy;
};
operator "god" {
/* name: the name of the oper must go above */
@ -253,6 +269,9 @@ operator "god" {
*/
flags = global_kill, remote, kline, unkline,
die, rehash, admin, xline, operwall;
/* privset: replaces flags */
privset = "admin";
};
connect "irc.uplink.com" {