channel: always send chm_hidden modes to servers
This commit is contained in:
parent
284649441f
commit
5a1b54fddc
1 changed files with 1 additions and 1 deletions
|
@ -1141,7 +1141,7 @@ channel_modes(struct Channel *chptr, struct Client *client_p)
|
||||||
|
|
||||||
for (i = 0; i < 256; i++)
|
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;
|
continue;
|
||||||
if(chptr->mode.mode & chmode_flags[i])
|
if(chptr->mode.mode & chmode_flags[i])
|
||||||
*mbuf++ = i;
|
*mbuf++ = i;
|
||||||
|
|
Loading…
Reference in a new issue