27 |
|
#include "stdinc.h" |
28 |
|
#include "list.h" |
29 |
|
#include "ircd_defs.h" |
30 |
– |
#include "balloc.h" |
30 |
|
#include "conf.h" |
31 |
|
#include "s_serv.h" |
32 |
|
#include "resv.h" |
110 |
|
const struct MaskItem *conf = ptr->data; |
111 |
|
|
112 |
|
assert(conf->class); |
113 |
< |
assert(conf->type & (CONF_OPERATOR | CONF_CLIENT | CONF_SERVER)); |
113 |
> |
assert(conf->type & (CONF_OPER | CONF_CLIENT | CONF_SERVER)); |
114 |
|
|
115 |
|
return conf->class->name; |
116 |
|
} |
126 |
|
if ((ptr = list->head)) { |
127 |
|
const struct MaskItem *conf = ptr->data; |
128 |
|
|
129 |
< |
assert(aconf->class); |
130 |
< |
assert(aconf->type & (CONF_OPERATOR | CONF_CLIENT | CONF_SERVER)); |
129 |
> |
assert(conf->class); |
130 |
> |
assert(conf->type & (CONF_OPER | CONF_CLIENT | CONF_SERVER)); |
131 |
|
|
132 |
|
return conf->class->ping_freq; |
133 |
|
} |
144 |
|
const struct MaskItem *conf = ptr->data; |
145 |
|
|
146 |
|
assert(conf->class); |
147 |
< |
assert(conf->type & (CONF_OPERATOR | CONF_CLIENT | CONF_SERVER)); |
147 |
> |
assert(conf->type & (CONF_OPER | CONF_CLIENT | CONF_SERVER)); |
148 |
|
|
149 |
|
return conf->class->max_sendq; |
150 |
|
} |
161 |
|
const struct MaskItem *conf = ptr->data; |
162 |
|
|
163 |
|
assert(conf->class); |
164 |
< |
assert(conf->type & (CONF_OPERATOR | CONF_CLIENT | CONF_SERVER)); |
164 |
> |
assert(conf->type & (CONF_OPER | CONF_CLIENT | CONF_SERVER)); |
165 |
|
|
166 |
|
return conf->class->max_recvq; |
167 |
|
} |