# HG changeset patch # User Ka-Hing Cheung # Date 1215374219 0 # Node ID 7139ce8a6ece88ad4761e8b4d9f2a9e1bd95bab9 # Parent 74960bf43dae206591242cf24d16f5c3c83bd6d0 set the purple connection name to the one we are about to try diff -r 74960bf43dae -r 7139ce8a6ece libpurple/protocols/irc/msgs.c --- a/libpurple/protocols/irc/msgs.c Sun Jul 06 17:24:35 2008 +0000 +++ b/libpurple/protocols/irc/msgs.c Sun Jul 06 19:56:59 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);