Mercurial > pidgin.yaz
changeset 3569:d6468f276d24
[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 <tailor@pidgin.im>
author | Luke Schierer <lschiere@pidgin.im> |
---|---|
date | Sun, 29 Sep 2002 04:26:50 +0000 |
parents | 3c4b8982068a |
children | b791019b2492 |
files | src/protocols/irc/irc.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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);