Changeset 8358691 for irc_commands.c


Ignore:
Timestamp:
2010-08-31T20:05:36Z (9 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
f5c0d8e
Parents:
ad2d8bc
Message:

Added root_command_add() and use it to create the "otr" command.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • irc_commands.c

    rad2d8bc r8358691  
    626626        irc_send_msg_raw( irc->root, "NOTICE", irc->user->nick, "COMPLETIONS OK" );
    627627       
    628         for( i = 0; commands[i].command; i ++ )
    629                 irc_send_msg_f( irc->root, "NOTICE", irc->user->nick, "COMPLETIONS %s", commands[i].command );
     628        for( i = 0; root_commands[i].command; i ++ )
     629                irc_send_msg_f( irc->root, "NOTICE", irc->user->nick, "COMPLETIONS %s", root_commands[i].command );
    630630       
    631631        for( h = global.help; h; h = h->next )
Note: See TracChangeset for help on using the changeset viewer.