aboutsummaryrefslogtreecommitdiffstats
path: root/irc_commands.c
diff options
context:
space:
mode:
Diffstat (limited to 'irc_commands.c')
-rw-r--r--irc_commands.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/irc_commands.c b/irc_commands.c
index 7874f519..def323a4 100644
--- a/irc_commands.c
+++ b/irc_commands.c
@@ -633,8 +633,8 @@ static void irc_cmd_completions( irc_t *irc, char **cmd )
irc_send_msg_raw( irc->root, "NOTICE", irc->user->nick, "COMPLETIONS OK" );
- for( i = 0; commands[i].command; i ++ )
- irc_send_msg_f( irc->root, "NOTICE", irc->user->nick, "COMPLETIONS %s", commands[i].command );
+ for( i = 0; root_commands[i].command; i ++ )
+ irc_send_msg_f( irc->root, "NOTICE", irc->user->nick, "COMPLETIONS %s", root_commands[i].command );
for( h = global.help; h; h = h->next )
irc_send_msg_f( irc->root, "NOTICE", irc->user->nick, "COMPLETIONS help %s", h->title );