remove callerid definitions
This commit is contained in:
parent
4a9cf86981
commit
303e85c59e
4 changed files with 1 additions and 5 deletions
|
@ -444,7 +444,6 @@ struct ListClient
|
||||||
#define UMODE_WALLOP 0x0002 /* send wallops to them */
|
#define UMODE_WALLOP 0x0002 /* send wallops to them */
|
||||||
#define UMODE_OPERWALL 0x0004 /* Operwalls */
|
#define UMODE_OPERWALL 0x0004 /* Operwalls */
|
||||||
#define UMODE_INVISIBLE 0x0008 /* makes user invisible */
|
#define UMODE_INVISIBLE 0x0008 /* makes user invisible */
|
||||||
#define UMODE_CALLERID 0x0010 /* block unless caller id's */
|
|
||||||
#define UMODE_LOCOPS 0x0020 /* show locops */
|
#define UMODE_LOCOPS 0x0020 /* show locops */
|
||||||
#define UMODE_SERVICE 0x0040
|
#define UMODE_SERVICE 0x0040
|
||||||
#define UMODE_DEAF 0x0080
|
#define UMODE_DEAF 0x0080
|
||||||
|
@ -535,7 +534,6 @@ struct ListClient
|
||||||
#define SendLocops(x) ((x)->umodes & UMODE_LOCOPS)
|
#define SendLocops(x) ((x)->umodes & UMODE_LOCOPS)
|
||||||
#define SendServNotice(x) ((x)->umodes & UMODE_SERVNOTICE)
|
#define SendServNotice(x) ((x)->umodes & UMODE_SERVNOTICE)
|
||||||
#define SendOperwall(x) ((x)->umodes & UMODE_OPERWALL)
|
#define SendOperwall(x) ((x)->umodes & UMODE_OPERWALL)
|
||||||
#define IsSetCallerId(x) ((x)->umodes & UMODE_CALLERID)
|
|
||||||
#define IsService(x) ((x)->umodes & UMODE_SERVICE)
|
#define IsService(x) ((x)->umodes & UMODE_SERVICE)
|
||||||
#define IsDeaf(x) ((x)->umodes & UMODE_DEAF)
|
#define IsDeaf(x) ((x)->umodes & UMODE_DEAF)
|
||||||
#define IsNoForward(x) ((x)->umodes & UMODE_NOFORWARD)
|
#define IsNoForward(x) ((x)->umodes & UMODE_NOFORWARD)
|
||||||
|
|
|
@ -316,7 +316,6 @@ struct mode_table
|
||||||
|
|
||||||
/* *INDENT-OFF* */
|
/* *INDENT-OFF* */
|
||||||
static struct mode_table umode_table[] = {
|
static struct mode_table umode_table[] = {
|
||||||
{"callerid", UMODE_CALLERID },
|
|
||||||
{"deaf", UMODE_DEAF },
|
{"deaf", UMODE_DEAF },
|
||||||
{"invisible", UMODE_INVISIBLE },
|
{"invisible", UMODE_INVISIBLE },
|
||||||
{"locops", UMODE_LOCOPS },
|
{"locops", UMODE_LOCOPS },
|
||||||
|
|
|
@ -97,7 +97,7 @@ int user_modes[256] = {
|
||||||
0, /* d */
|
0, /* d */
|
||||||
0, /* e */
|
0, /* e */
|
||||||
0, /* f */
|
0, /* f */
|
||||||
UMODE_CALLERID, /* g */
|
0, /* g */
|
||||||
0, /* h */
|
0, /* h */
|
||||||
UMODE_INVISIBLE, /* i */
|
UMODE_INVISIBLE, /* i */
|
||||||
0, /* j */
|
0, /* j */
|
||||||
|
|
|
@ -318,7 +318,6 @@ init_isupport(void)
|
||||||
add_isupport("MODES", isupport_intptr, &maxmodes);
|
add_isupport("MODES", isupport_intptr, &maxmodes);
|
||||||
add_isupport("NETWORK", isupport_stringptr, &ServerInfo.network_name);
|
add_isupport("NETWORK", isupport_stringptr, &ServerInfo.network_name);
|
||||||
add_isupport("STATUSMSG", isupport_string, "@+");
|
add_isupport("STATUSMSG", isupport_string, "@+");
|
||||||
add_isupport("CALLERID", isupport_umode, "g");
|
|
||||||
add_isupport("CASEMAPPING", isupport_string, "rfc1459");
|
add_isupport("CASEMAPPING", isupport_string, "rfc1459");
|
||||||
add_isupport("NICKLEN", isupport_nicklen, NULL);
|
add_isupport("NICKLEN", isupport_nicklen, NULL);
|
||||||
add_isupport("MAXNICKLEN", isupport_intptr, &maxnicklen);
|
add_isupport("MAXNICKLEN", isupport_intptr, &maxnicklen);
|
||||||
|
|
Loading…
Reference in a new issue