From 5a1b54fddcb0a13526f135be64f34bae717f7ea5 Mon Sep 17 00:00:00 2001 From: Ed Kellett Date: Sat, 4 Dec 2021 19:31:53 +0000 Subject: [PATCH] channel: always send chm_hidden modes to servers --- ircd/channel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ircd/channel.c b/ircd/channel.c index 9c67aaab..0a01f972 100644 --- a/ircd/channel.c +++ b/ircd/channel.c @@ -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;