From: Luke S. <lsc...@us...> - 2002-09-29 04:26:53
|
Update of /cvsroot/gaim/gaim/src/protocols/irc In directory usw-pr-cvs1:/tmp/cvs-serv13400/src/protocols/irc Modified Files: irc.c Log Message: fix situation when you have no alias since we removed the url from the realname now defaults to "gaim" when there is no alias Index: irc.c =================================================================== RCS file: /cvsroot/gaim/gaim/src/protocols/irc/irc.c,v retrieving revision 1.85 retrieving revision 1.86 diff -u -d -r1.85 -r1.86 --- irc.c 28 Sep 2002 03:48:28 -0000 1.85 +++ irc.c 29 Sep 2002 04:26:50 -0000 1.86 @@ -1320,7 +1320,7 @@ g_snprintf(buf, sizeof(buf), "USER %s %s %s :%s\r\n", g_get_user_name(), hostname, gc->user->proto_opt[USEROPT_SERV], - gc->user->alias); + gc->user->alias ? gc->user->alias : "gaim"); if (irc_write(idata->fd, buf, strlen(buf)) < 0) { hide_login_progress(gc, "Write error"); signoff(gc); |