aboutsummaryrefslogtreecommitdiffstats
path: root/irc_commands.c
diff options
context:
space:
mode:
authorWilmer van der Gaast <wilmer@gaast.net>2010-06-07 00:47:46 +0100
committerWilmer van der Gaast <wilmer@gaast.net>2010-06-07 00:47:46 +0100
commit92cb8c4c251fb04a483b29e7108e7a52388f14dd (patch)
tree227b80ca36f96b0ec2189eb6ac62ca583a4b67f2 /irc_commands.c
parent16834a53f85be092acc16dee70cb72451b2230f9 (diff)
Complete (hopefully) fix for nickname changes: Add flags to the identify
command to allow identifying without loading any new settings. With some documentation hints.
Diffstat (limited to 'irc_commands.c')
-rw-r--r--irc_commands.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/irc_commands.c b/irc_commands.c
index 4ea53299..4ce68f07 100644
--- a/irc_commands.c
+++ b/irc_commands.c
@@ -88,6 +88,10 @@ static void irc_cmd_nick( irc_t *irc, char **cmd )
irc_setpass( irc, NULL );
irc->status &= ~USTATUS_IDENTIFIED;
irc_umode_set( irc, "-R", 1 );
+ irc_usermsg( irc, "Changing nicks resets your identify status. "
+ "Re-identify or register a new account if you want "
+ "your configuration to be saved. See \x02help "
+ "nick_changes\x02." );
}
irc_user_set_nick( irc->user, cmd[1] );