972 |
struct Channel *chptr = NULL; |
struct Channel *chptr = NULL; |
973 |
const struct ResvItem *resv = NULL; |
const struct ResvItem *resv = NULL; |
974 |
const struct ClassItem *const class = get_class_ptr(&client_p->connection->confs); |
const struct ClassItem *const class = get_class_ptr(&client_p->connection->confs); |
|
int i = 0; |
|
975 |
unsigned int flags = 0; |
unsigned int flags = 0; |
976 |
|
|
977 |
assert(IsClient(client_p)); |
assert(IsClient(client_p)); |
1020 |
if (IsMember(client_p, chptr)) |
if (IsMember(client_p, chptr)) |
1021 |
continue; |
continue; |
1022 |
|
|
1023 |
/* |
/* can_join() checks for +i, +l, key, bans, etc. */ |
1024 |
* can_join checks for +i key, bans. |
int ret = can_join(client_p, chptr, key); |
1025 |
*/ |
if (ret) |
|
if ((i = can_join(client_p, chptr, key))) |
|
1026 |
{ |
{ |
1027 |
sendto_one_numeric(client_p, &me, i, chptr->name); |
sendto_one_numeric(client_p, &me, ret, chptr->name); |
1028 |
continue; |
continue; |
1029 |
} |
} |
1030 |
|
|