126 |
struct Channel *chptr = NULL; |
struct Channel *chptr = NULL; |
127 |
int i = 0; |
int i = 0; |
128 |
unsigned int flags = 0; |
unsigned int flags = 0; |
|
unsigned int error_reported = 0; |
|
129 |
|
|
130 |
if (*parv[1] == '\0') |
if (*parv[1] == '\0') |
131 |
{ |
{ |
189 |
(!IsOper(source_p) || (dlink_list_length(&source_p->channel) >= |
(!IsOper(source_p) || (dlink_list_length(&source_p->channel) >= |
190 |
ConfigChannel.max_chans_per_user * 3))) |
ConfigChannel.max_chans_per_user * 3))) |
191 |
{ |
{ |
192 |
if (!error_reported++) |
sendto_one(source_p, form_str(ERR_TOOMANYCHANNELS), |
193 |
sendto_one(source_p, form_str(ERR_TOOMANYCHANNELS), |
me.name, source_p->name, chan); |
194 |
me.name, source_p->name, chan); |
break; |
|
continue; |
|
195 |
} |
} |
196 |
|
|
197 |
if ((chptr = hash_find_channel(chan)) != NULL) |
if ((chptr = hash_find_channel(chan)) != NULL) |