aboutsummaryrefslogtreecommitdiffstats
path: root/root_commands.c
diff options
context:
space:
mode:
Diffstat (limited to 'root_commands.c')
-rw-r--r--root_commands.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/root_commands.c b/root_commands.c
index ce412b80..6924fd13 100644
--- a/root_commands.c
+++ b/root_commands.c
@@ -361,7 +361,7 @@ static int cmd_set_real( irc_t *irc, char **cmd, set_t **head, cmd_set_checkflag
set_t *s = *head;
while( s )
{
- if( !( s->flags & SET_HIDDEN ) )
+ if( set_isvisible( s ) )
cmd_showset( irc, &s, s->key );
s = s->next;
}