Skip to content

Commit

Permalink
channel: always send chm_hidden modes to servers
Browse files Browse the repository at this point in the history
  • Loading branch information
edk0 committed Dec 4, 2021
1 parent 2846494 commit 5a1b54f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ircd/channel.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 5a1b54f

Please sign in to comment.