97 |
|
char *chan_list = NULL; |
98 |
|
char *chan = NULL; |
99 |
|
struct Channel *chptr = NULL; |
100 |
+ |
struct MaskItem *conf = NULL; |
101 |
|
int i = 0; |
102 |
|
unsigned int flags = 0; |
103 |
|
|
135 |
|
|
136 |
|
if (!IsExemptResv(source_p) && |
137 |
|
!(HasUMode(source_p, UMODE_OPER) && ConfigFileEntry.oper_pass_resv) && |
138 |
< |
(!hash_find_resv(chan) == ConfigChannel.restrict_channels)) |
138 |
> |
(!(conf = hash_find_resv(chan)) == ConfigChannel.restrict_channels)) |
139 |
|
{ |
140 |
+ |
if (conf) |
141 |
+ |
++conf->count; |
142 |
|
sendto_one(source_p, form_str(ERR_BADCHANNAME), |
143 |
|
me.name, source_p->name, chan); |
144 |
|
sendto_realops_flags(UMODE_SPY, L_ALL, SEND_NOTICE, |