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 64dc71b9..e0cd15b9 100644
--- a/root_commands.c
+++ b/root_commands.c
@@ -655,7 +655,7 @@ static void cmd_allow( irc_t *irc, char **cmd )
format = "%-32.32s %-16.16s";
irc_usermsg( irc, format, "Handle", "Nickname" );
- for( l = a->gc->deny; l; l = l->next )
+ for( l = a->gc->permit; l; l = l->next )
{
user_t *u = user_findhandle( a->gc, l->data );
irc_usermsg( irc, format, l->data, u ? u->nick : "(none)" );