summaryrefslogtreecommitdiff
path: root/src/conf.c
diff options
context:
space:
mode:
authormichael <michael@82007160-df01-0410-b94d-b575c5fd34c7>2013-05-12 14:51:41 +0000
committermichael <michael@82007160-df01-0410-b94d-b575c5fd34c7>2013-05-12 14:51:41 +0000
commitf12ebd1f2ac718e17c438410c332192d1360d6a3 (patch)
tree3ff48bf3a9c651e93c5df42f43e9c3dcc271a0cc /src/conf.c
parentdf0978f4c17d55ce78679463d9a00f4fddbd14fe (diff)
- Removed 'remote', and 'global_kill' oper flags, and added 'connect',
'squit', and 'kill' flags for better fine-tuning instead. Whether or not a specific action is allowed on a remote server can be controlled by appeding the ':remote' flag. For example: 'kill' allows only local clients to be killed, whereas 'kill:remote' allows to issue a KILL for remote clients git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/branches/8.1.x@2013 82007160-df01-0410-b94d-b575c5fd34c7
Diffstat (limited to 'src/conf.c')
-rw-r--r--src/conf.c26
1 files changed, 15 insertions, 11 deletions
diff --git a/src/conf.c b/src/conf.c
index cd02776..84149c1 100644
--- a/src/conf.c
+++ b/src/conf.c
@@ -1377,17 +1377,21 @@ static const struct oper_privs
const unsigned int flag;
const unsigned char c;
} flag_list[] = {
- { OPER_FLAG_ADMIN, 'A' },
- { OPER_FLAG_REMOTEBAN, 'B' },
- { OPER_FLAG_DIE, 'D' },
- { OPER_FLAG_GLINE, 'G' },
- { OPER_FLAG_REHASH, 'H' },
- { OPER_FLAG_K, 'K' },
- { OPER_FLAG_OPERWALL, 'L' },
- { OPER_FLAG_GLOBAL_KILL, 'O' },
- { OPER_FLAG_REMOTE, 'R' },
- { OPER_FLAG_UNKLINE, 'U' },
- { OPER_FLAG_X, 'X' },
+ { OPER_FLAG_ADMIN, 'A' },
+ { OPER_FLAG_REMOTEBAN, 'B' },
+ { OPER_FLAG_DIE, 'D' },
+ { OPER_FLAG_GLINE, 'G' },
+ { OPER_FLAG_REHASH, 'H' },
+ { OPER_FLAG_K, 'K' },
+ { OPER_FLAG_OPERWALL, 'L' },
+ { OPER_FLAG_KILL, 'N' },
+ { OPER_FLAG_KILL_REMOTE, 'O' },
+ { OPER_FLAG_CONNECT, 'P' },
+ { OPER_FLAG_CONNECT_REMOTE, 'Q' },
+ { OPER_FLAG_SQUIT, 'R' },
+ { OPER_FLAG_SQUIT_REMOTE, 'S' },
+ { OPER_FLAG_UNKLINE, 'U' },
+ { OPER_FLAG_X, 'X' },
{ 0, '\0' }
};