channel: always send chm_hidden modes to servers

This commit is contained in:
Ed Kellett 2021-12-04 19:31:53 +00:00
parent 284649441f
commit 5a1b54fddc

View file

@ -1141,7 +1141,7 @@ channel_modes(struct Channel *chptr, struct Client *client_p)
for (i = 0; i < 256; i++)
{
if(chmode_table[i].set_func == chm_hidden && (!HasPrivilege(client_p, "auspex:cmodes") || !IsClient(client_p)))
if(chmode_table[i].set_func == chm_hidden && !HasPrivilege(client_p, "auspex:cmodes") && IsClient(client_p))
continue;
if(chptr->mode.mode & chmode_flags[i])
*mbuf++ = i;