From 49ab3cbbe3d8a92cced850dac46dec671433c5da Mon Sep 17 00:00:00 2001 From: dequis Date: Sun, 27 May 2018 00:04:49 -0300 Subject: Remove deprecated placeholder for 'nick' command (added 2010) BitlBee 1.x compatibility stuff. It's just confusing now. --- root_commands.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/root_commands.c b/root_commands.c index 27ef16d2..c89b7c6a 100644 --- a/root_commands.c +++ b/root_commands.c @@ -1560,11 +1560,6 @@ static void cmd_transfer(irc_t *irc, char **cmd) } } -static void cmd_nick(irc_t *irc, char **cmd) -{ - irc_rootmsg(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) { @@ -1605,7 +1600,6 @@ command_t root_commands[] = { { "help", 0, cmd_help, 0 }, { "identify", 0, cmd_identify, 0 }, { "info", 1, cmd_info, 0 }, - { "nick", 1, cmd_nick, 0 }, { "no", 0, cmd_yesno, 0 }, { "plugins", 0, cmd_plugins, 0 }, { "qlist", 0, cmd_qlist, 0 }, -- cgit v1.2.3