aboutsummaryrefslogtreecommitdiffstats
path: root/root_commands.c
diff options
context:
space:
mode:
authorWilmer van der Gaast <wilmer@gaast.net>2010-08-25 22:35:49 +0100
committerWilmer van der Gaast <wilmer@gaast.net>2010-08-25 22:35:49 +0100
commit3cd4016e8580b82bebac59e9a23c8de96330ac64 (patch)
tree02512ada98f499408b468ddb7fa0ea2063814d1e /root_commands.c
parenta72af0dc9b76451f5aa57ac9443267a97c794f95 (diff)
I guess the nick command was never deprecated clearly, so let's do that now.
Diffstat (limited to 'root_commands.c')
-rw-r--r--root_commands.c6
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 },