127 |
|
UMODE_WALLOP, /* w */ |
128 |
|
UMODE_HIDDENHOST, /* x */ |
129 |
|
UMODE_SPY, /* y */ |
130 |
< |
UMODE_OPERWALL, /* z 0x7A */ |
130 |
> |
0, /* z 0x7A */ |
131 |
|
0,0,0,0,0, /* 0x7B - 0x7F */ |
132 |
|
|
133 |
|
/* 0x80 */ 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* 0x8F */ |
175 |
|
if (dlink_list_length(&unknown_list)) |
176 |
|
sendto_one_numeric(source_p, &me, RPL_LUSERUNKNOWN, dlink_list_length(&unknown_list)); |
177 |
|
|
178 |
< |
if (dlink_list_length(&global_channel_list)) |
179 |
< |
sendto_one_numeric(source_p, &me, RPL_LUSERCHANNELS, dlink_list_length(&global_channel_list)); |
178 |
> |
if (dlink_list_length(&channel_list)) |
179 |
> |
sendto_one_numeric(source_p, &me, RPL_LUSERCHANNELS, dlink_list_length(&channel_list)); |
180 |
|
|
181 |
|
if (!ConfigServerHide.hide_servers || HasUMode(source_p, UMODE_OPER)) |
182 |
|
{ |
722 |
|
int |
723 |
|
valid_username(const char *username, const int local) |
724 |
|
{ |
725 |
< |
int dots = 0; |
725 |
> |
unsigned int dots = 0; |
726 |
|
const char *p = username; |
727 |
|
|
728 |
|
assert(p); |
1103 |
|
add_isupport("DEAF", "D", -1); |
1104 |
|
add_isupport("KICKLEN", NULL, KICKLEN); |
1105 |
|
add_isupport("MODES", NULL, MAXMODEPARAMS); |
1106 |
– |
#ifdef HALFOPS |
1106 |
|
add_isupport("PREFIX", "(ohv)@%+", -1); |
1107 |
|
add_isupport("STATUSMSG", "@%+", -1); |
1109 |
– |
#else |
1110 |
– |
add_isupport("PREFIX", "(ov)@+", -1); |
1111 |
– |
add_isupport("STATUSMSG", "@+", -1); |
1112 |
– |
#endif |
1108 |
|
add_isupport("EXCEPTS", "e", -1); |
1109 |
|
add_isupport("INVEX", "I", -1); |
1110 |
|
} |
1122 |
|
add_isupport(const char *name, const char *options, int n) |
1123 |
|
{ |
1124 |
|
dlink_node *ptr; |
1125 |
< |
struct Isupport *support; |
1125 |
> |
struct Isupport *support = NULL; |
1126 |
|
|
1127 |
|
DLINK_FOREACH(ptr, support_list.head) |
1128 |
|
{ |