Add DIE shared option for remote restart and die which are on their

way next.
This commit is contained in:
JD Horelick 2010-03-23 14:19:48 -04:00
parent 6f7a78f6aa
commit 74e3e4f1e2
4 changed files with 4 additions and 0 deletions

View File

@ -694,6 +694,7 @@ shared {
* unresv - allow removing xlines
* all - allow oper/server to do all of above.
* locops - allow locops - only used for servers who cluster
* die - allow restarting/dying of servers
* rehash - allow rehashing
* dline - allow setting perm/temp dlines
* tdline - allow setting temp dlines

View File

@ -96,6 +96,7 @@ struct remote_conf
#define SHARED_TDLINE 0x0800
#define SHARED_PDLINE 0x1000
#define SHARED_UNDLINE 0x2000
#define SHARED_DIE 0x4000
#define SHARED_ALL (SHARED_TKLINE | SHARED_PKLINE | SHARED_UNKLINE |\
SHARED_PXLINE | SHARED_TXLINE | SHARED_UNXLINE |\

View File

@ -959,6 +959,7 @@ static struct shared_flags shared_flagtable[] =
{ SHARED_TDLINE, 'd' },
{ SHARED_PDLINE, 'D' },
{ SHARED_UNDLINE, 'E' },
{ SHARED_DIE, 'I' },
{ 0, '\0'}
};

View File

@ -353,6 +353,7 @@ static struct mode_table cluster_table[] = {
{ "xline", SHARED_PXLINE },
{ "txline", SHARED_TXLINE },
{ "unxline", SHARED_UNXLINE },
{ "die", SHARED_DIE },
{ "resv", SHARED_PRESV },
{ "tresv", SHARED_TRESV },
{ "unresv", SHARED_UNRESV },