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:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user