# HG changeset patch # User Sean Egan # Date 1015721972 0 # Node ID 0e6577e8bd1d092d1fa0e08c1db5c2519436b227 # Parent c642d0ebcc1907d87b460a6054f743916c6606a0 [gaim-migrate @ 3041] IRC Buddy list bugfix. committer: Tailor Script diff -r c642d0ebcc19 -r 0e6577e8bd1d src/protocols/irc/irc.c --- a/src/protocols/irc/irc.c Sat Mar 09 19:56:26 2002 +0000 +++ b/src/protocols/irc/irc.c Sun Mar 10 00:59:32 2002 +0000 @@ -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)