# HG changeset patch # User Luke Schierer # Date 1033273610 0 # Node ID d6468f276d2431faf140b4b66f8d03e92e57aee5 # Parent 3c4b8982068a864da6d8c8b81c9e70479c9cf383 [gaim-migrate @ 3665] fix situation when you have no alias since we removed the url from the realname now defaults to "gaim" when there is no alias committer: Tailor Script diff -r 3c4b8982068a -r d6468f276d24 src/protocols/irc/irc.c --- a/src/protocols/irc/irc.c Sun Sep 29 04:23:45 2002 +0000 +++ b/src/protocols/irc/irc.c Sun Sep 29 04:26:50 2002 +0000 @@ -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);