1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-07-03 04:53:12 +02:00

Fix mode +d (post delayed +D) not showing invisible users partially.

Or, "invisible_user_in_channel() function doesn't return 1 when channel has +d"
Reported by westor in https://bugs.unrealircd.org/view.php?id=6118
This commit is contained in:
Bram Matthys
2023-03-17 12:12:20 +01:00
parent 2a98802d09
commit 4a9dcc6511
+1 -1
View File
@@ -264,7 +264,7 @@ int delayjoin_is_ok(Client *client, Channel *channel, char mode, const char *par
int visible_in_channel(Client *client, Channel *channel)
{
return channel_is_delayed(channel) && moded_user_invisible(client, channel);
return (channel_is_delayed(channel) || channel_is_post_delayed(channel)) && moded_user_invisible(client, channel);
}