215 |
|
int tlen, mlen, cur_len; |
216 |
|
char *pp = pbuf; |
217 |
|
|
218 |
< |
if (!dlink_list_length(list)) |
218 |
> |
if (dlink_list_length(list) == 0) |
219 |
|
return; |
220 |
|
|
221 |
|
mlen = snprintf(mbuf, sizeof(mbuf), ":%s BMASK %ju %s %c :", me.id, |
904 |
|
if (key && *key == '\0') |
905 |
|
key = NULL; |
906 |
|
|
907 |
< |
if (!channel_check_name(name, 1)) |
907 |
> |
if (channel_check_name(name, 1) == 0) |
908 |
|
{ |
909 |
|
sendto_one_numeric(client_p, &me, ERR_BADCHANNAME, name); |
910 |
|
continue; |
946 |
|
* This should never be the case unless there is some sort of |
947 |
|
* persistant channels. |
948 |
|
*/ |
949 |
< |
if (!dlink_list_length(&chptr->members)) |
949 |
> |
if (dlink_list_length(&chptr->members) == 0) |
950 |
|
flags = CHFL_CHANOP; |
951 |
|
else |
952 |
|
flags = 0; |