diff options
author | michael <michael@82007160-df01-0410-b94d-b575c5fd34c7> | 2013-05-12 14:51:41 +0000 |
---|---|---|
committer | michael <michael@82007160-df01-0410-b94d-b575c5fd34c7> | 2013-05-12 14:51:41 +0000 |
commit | f12ebd1f2ac718e17c438410c332192d1360d6a3 (patch) | |
tree | 3ff48bf3a9c651e93c5df42f43e9c3dcc271a0cc /src/conf.c | |
parent | df0978f4c17d55ce78679463d9a00f4fddbd14fe (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.c | 26 |
1 files changed, 15 insertions, 11 deletions
@@ -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' } }; |