diff options
author | Wilmer van der Gaast <wilmer@gaast.net> | 2006-07-27 16:55:53 +0200 |
---|---|---|
committer | Wilmer van der Gaast <wilmer@gaast.net> | 2006-07-27 16:55:53 +0200 |
commit | 2811940d678bd9340055e08a0462c21e710d5714 (patch) | |
tree | 7f4aac4bd54ed34feda848c2a659e1ea079bebc3 /root_commands.c | |
parent | 639809488bb4ab59a4a4f15ef2d4cd34037a68a4 (diff) |
Copy-paste considered harmful + Fixed double handling of gc->permit/deny
which actually broke the block/allow commands.
Diffstat (limited to 'root_commands.c')
-rw-r--r-- | root_commands.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/root_commands.c b/root_commands.c index 3d3584b3..040d885c 100644 --- a/root_commands.c +++ b/root_commands.c @@ -579,7 +579,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)" ); |