457 |
|
/*! \brief lists all names on given channel |
458 |
|
* \param client Pointer to client struct requesting names |
459 |
|
* \param channel Pointer to channel block |
460 |
– |
* \param show_eon Show RPL_ENDOFNAMES numeric or not |
461 |
– |
* (don't want it with /names with no params) |
460 |
|
*/ |
461 |
|
void |
462 |
< |
channel_send_namereply(struct Client *client, struct Channel *channel, bool show_eon) |
462 |
> |
channel_send_namereply(struct Client *client, struct Channel *channel) |
463 |
|
{ |
464 |
|
dlink_node *node; |
465 |
|
char buf[IRCD_BUFSIZE + 1]; |
519 |
|
} |
520 |
|
} |
521 |
|
|
522 |
< |
if (show_eon == true) |
525 |
< |
sendto_one_numeric(client, &me, RPL_ENDOFNAMES, channel->name); |
522 |
> |
sendto_one_numeric(client, &me, RPL_ENDOFNAMES, channel->name); |
523 |
|
} |
524 |
|
|
525 |
|
/* member_get_prefix() |
1068 |
|
channel->topic_info, channel->topic_time); |
1069 |
|
} |
1070 |
|
|
1071 |
< |
channel_send_namereply(client, channel, true); |
1071 |
> |
channel_send_namereply(client, channel); |
1072 |
|
|
1073 |
|
client->connection->last_join_time = event_base->time.sec_monotonic; |
1074 |
|
} |