]> jfr.im git - solanum.git/blobdiff - ircd/channel.c
Support more human friendly k/d/x-line duration format
[solanum.git] / ircd / channel.c
index 9c67aaabb90fd6fe038511825532465fd4b19ab8..0a01f972cbe62d9a0e9f7fce60264d3ba76634c6 100644 (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;