Mercurial > pidgin.yaz
comparison libpurple/protocols/irc/msgs.c @ 23433:7139ce8a6ece
set the purple connection name to the one we are about to try
author | Ka-Hing Cheung <khc@hxbc.us> |
---|---|
date | Sun, 06 Jul 2008 19:56:59 +0000 |
parents | 19ab21882b38 |
children | 819346c150f1 |
comparison
equal
deleted
inserted
replaced
23432:74960bf43dae | 23433:7139ce8a6ece |
---|---|
1005 | 1005 |
1006 g_free(irc->reqnick); | 1006 g_free(irc->reqnick); |
1007 irc->reqnick = newnick; | 1007 irc->reqnick = newnick; |
1008 irc->nickused = TRUE; | 1008 irc->nickused = TRUE; |
1009 | 1009 |
1010 purple_connection_set_display_name( | |
1011 purple_account_get_connection(irc->account), newnick); | |
1012 | |
1010 buf = irc_format(irc, "vn", "NICK", newnick); | 1013 buf = irc_format(irc, "vn", "NICK", newnick); |
1011 irc_send(irc, buf); | 1014 irc_send(irc, buf); |
1012 g_free(buf); | 1015 g_free(buf); |
1013 } | 1016 } |
1014 | 1017 |