diff --git a/doc/reference.conf b/doc/reference.conf index 4fa38ca..101ef3e 100755 --- a/doc/reference.conf +++ b/doc/reference.conf @@ -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 diff --git a/include/s_newconf.h b/include/s_newconf.h index cdaadb7..8d6f220 100644 --- a/include/s_newconf.h +++ b/include/s_newconf.h @@ -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 |\ diff --git a/modules/m_stats.c b/modules/m_stats.c index dbc7699..234a238 100644 --- a/modules/m_stats.c +++ b/modules/m_stats.c @@ -959,6 +959,7 @@ static struct shared_flags shared_flagtable[] = { SHARED_TDLINE, 'd' }, { SHARED_PDLINE, 'D' }, { SHARED_UNDLINE, 'E' }, + { SHARED_DIE, 'I' }, { 0, '\0'} }; diff --git a/src/newconf.c b/src/newconf.c index 6791044..33bf340 100644 --- a/src/newconf.c +++ b/src/newconf.c @@ -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 },