diff options
author | Wilmer van der Gaast <wilmer@gaast.net> | 2010-08-27 05:22:50 +0100 |
---|---|---|
committer | Wilmer van der Gaast <wilmer@gaast.net> | 2010-08-27 05:22:50 +0100 |
commit | b78c4b9e3f3ec11b4ff560f579da764846793a00 (patch) | |
tree | d8c31f431ae525c1151a9e1061092e0be51c1f06 /root_commands.c | |
parent | ea728e661f521405c2883c70865d563750223770 (diff) | |
parent | 3f10fad9408844802fcfa3caf3e65e248185f5af (diff) |
Merging minor mainline changes.
Diffstat (limited to 'root_commands.c')
-rw-r--r-- | root_commands.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/root_commands.c b/root_commands.c index 280c93a2..94d22933 100644 --- a/root_commands.c +++ b/root_commands.c @@ -1283,6 +1283,11 @@ static void cmd_transfer( irc_t *irc, char **cmd ) } } +static void cmd_nick( irc_t *irc, char **cmd ) +{ + irc_usermsg( irc, "This command is deprecated. Try: account %s set display_name", cmd[1] ); +} + /* Maybe this should be a stand-alone command as well? */ static void bitlbee_whatsnew( irc_t *irc ) { @@ -1337,6 +1342,7 @@ const command_t commands[] = { { "help", 0, cmd_help, 0 }, { "identify", 1, cmd_identify, 0 }, { "info", 1, cmd_info, 0 }, + { "nick", 1, cmd_nick, 0 }, { "no", 0, cmd_yesno, 0 }, { "qlist", 0, cmd_qlist, 0 }, { "register", 1, cmd_register, 0 }, |