From: Luke S. <lsc...@us...> - 2002-09-28 03:48:31
|
Update of /cvsroot/gaim/gaim/src/protocols/irc In directory usw-pr-cvs1:/tmp/cvs-serv8139/src/protocols/irc Modified Files: irc.c Log Message: having a link in the realname field causes a problem for _at least_ one server. this fix from paco-paco simplifies the realname field so that things work. Index: irc.c =================================================================== RCS file: /cvsroot/gaim/gaim/src/protocols/irc/irc.c,v retrieving revision 1.84 retrieving revision 1.85 diff -u -d -r1.84 -r1.85 --- irc.c 19 Sep 2002 16:47:17 -0000 1.84 +++ irc.c 28 Sep 2002 03:48:28 -0000 1.85 @@ -1317,10 +1317,10 @@ hostname[sizeof(hostname) - 1] = 0; if (!*hostname) g_snprintf(hostname, sizeof(hostname), "localhost"); - g_snprintf(buf, sizeof(buf), "USER %s %s %s :%s [Gaim (%s)]\r\n", + 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, WEBSITE); + gc->user->alias); if (irc_write(idata->fd, buf, strlen(buf)) < 0) { hide_login_progress(gc, "Write error"); signoff(gc); |