Changeset d860a8d for irc_commands.c


Ignore:
Timestamp:
2010-04-01T03:38:50Z (9 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
e63507a
Parents:
81e04e1
Message:

Restored "account" root command and restored enough stuff to be able to
send messages. Also started moving stuff out from nogaim.* into bee_* files.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • irc_commands.c

    r81e04e1 rd860a8d  
    309309}
    310310
     311static void irc_cmd_nickserv( irc_t *irc, char **cmd )
     312{
     313        /* [SH] This aliases the NickServ command to PRIVMSG root */
     314        /* [TV] This aliases the NS command to PRIVMSG root as well */
     315        root_command( irc, cmd + 1 );
     316}
     317
    311318
    312319
     
    516523       
    517524        set_setstr( &irc->set, "away", u->away );
    518 }
    519 
    520 static void irc_cmd_nickserv( irc_t *irc, char **cmd )
    521 {
    522         /* [SH] This aliases the NickServ command to PRIVMSG root */
    523         /* [TV] This aliases the NS command to PRIVMSG root as well */
    524         root_command( irc, cmd + 1 );
    525525}
    526526
     
    578578        { "who",         0, irc_cmd_who,         IRC_CMD_LOGGED_IN },
    579579        { "privmsg",     1, irc_cmd_privmsg,     IRC_CMD_LOGGED_IN },
     580        { "nickserv",    1, irc_cmd_nickserv,    IRC_CMD_LOGGED_IN },
     581        { "ns",          1, irc_cmd_nickserv,    IRC_CMD_LOGGED_IN },
    580582#if 0
    581583        { "oper",        2, irc_cmd_oper,        IRC_CMD_LOGGED_IN },
     
    587589        { "topic",       1, irc_cmd_topic,       IRC_CMD_LOGGED_IN },
    588590        { "away",        0, irc_cmd_away,        IRC_CMD_LOGGED_IN },
    589         { "nickserv",    1, irc_cmd_nickserv,    IRC_CMD_LOGGED_IN },
    590         { "ns",          1, irc_cmd_nickserv,    IRC_CMD_LOGGED_IN },
    591591        { "version",     0, irc_cmd_version,     IRC_CMD_LOGGED_IN },
    592592        { "completions", 0, irc_cmd_completions, IRC_CMD_LOGGED_IN },
Note: See TracChangeset for help on using the changeset viewer.