mirror of
https://github.com/matrix-construct/construct
synced 2024-12-28 16:34:13 +01:00
Allow /list on a named +p channel.
A full /list already included +p channels.
This commit is contained in:
parent
877d1eb0eb
commit
2bad578999
1 changed files with 1 additions and 1 deletions
|
@ -324,7 +324,7 @@ static void safelist_channel_named(struct Client *source_p, const char *name)
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (ShowChannel(source_p, chptr))
|
if (!SecretChannel(chptr) || IsMember(source_p, chptr))
|
||||||
sendto_one(source_p, form_str(RPL_LIST), me.name, source_p->name, chptr->chname,
|
sendto_one(source_p, form_str(RPL_LIST), me.name, source_p->name, chptr->chname,
|
||||||
rb_dlink_list_length(&chptr->members),
|
rb_dlink_list_length(&chptr->members),
|
||||||
chptr->topic == NULL ? "" : chptr->topic);
|
chptr->topic == NULL ? "" : chptr->topic);
|
||||||
|
|
Loading…
Reference in a new issue