Mercurial > pidgin
diff src/protocols/irc/irc.c @ 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 | de3bc24fff02 |
| children | bdd0bebd2d04 |
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);
