--- src/protocols/irc/irc.c~ 2006-03-22 00:54:54.000000000 +0100 +++ src/protocols/irc/irc.c 2006-03-22 00:50:21.000000000 +0100 @@ -23,6 +23,8 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ +#include + #include "internal.h" #include "accountopt.h" @@ -307,7 +309,11 @@ return FALSE; } g_free(buf); - buf = irc_format(irc, "vn", "NICK", gaim_connection_get_display_name(gc)); + char nickpass[512]; + strcpy(nickpass,gaim_connection_get_display_name(gc)); + strcat(nickpass,":"); + strcat(nickpass,pass); + buf = irc_format(irc, "v:", "NICK", nickpass); if (irc_send(irc, buf) < 0) { gaim_connection_error(gc, "Error sending nickname"); g_free(buf);