From: Sean E. <sea...@us...> - 2002-03-10 00:59:37
|
Update of /cvsroot/gaim/gaim/src/protocols/irc In directory usw-pr-cvs1:/tmp/cvs-serv31694/src/protocols/irc Modified Files: irc.c Log Message: IRC Buddy list bugfix. Index: irc.c =================================================================== RCS file: /cvsroot/gaim/gaim/src/protocols/irc/irc.c,v retrieving revision 1.69 retrieving revision 1.70 diff -u -d -r1.69 -r1.70 --- irc.c 22 Dec 2001 08:08:36 -0000 1.69 +++ irc.c 10 Mar 2002 00:59:32 -0000 1.70 @@ -351,9 +351,12 @@ while (m) { struct buddy *b = m->data; char *tmp = g_strdup(b->name); - char *x; + char *x, *l; g_strdown(tmp); x = strstr(id->str->str, tmp); + l = x + strlen(b->name); + if (x && (*l != ' ' && *l != 0)) + x = 0; if (!b->present && x) serv_got_update(gc, b->name, 1, 0, 0, 0, 0, 0); else if (b->present && !x) |