changeset 23437:1fcdc7d11f38

merge of '1c1f4b66a258c57f1b098ae970a49e71d5a49996' and 'f776b7993a5d3e47510182a5fc136781c9150c96'
author Luke Schierer <lschiere@pidgin.im>
date Mon, 07 Jul 2008 01:03:44 +0000
parents 7139ce8a6ece (diff) 3f80020106e6 (current diff)
children 6dc33eb841aa
files
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/irc/msgs.c	Sun Jul 06 17:54:14 2008 +0000
+++ b/libpurple/protocols/irc/msgs.c	Mon Jul 07 01:03:44 2008 +0000
@@ -1007,6 +1007,9 @@
 	irc->reqnick = newnick;
 	irc->nickused = TRUE;
 
+	purple_connection_set_display_name(
+		purple_account_get_connection(irc->account), newnick);
+
 	buf = irc_format(irc, "vn", "NICK", newnick);
 	irc_send(irc, buf);
 	g_free(buf);