# HG changeset patch # User Eric Warmenhoven # Date 1000884397 0 # Node ID b2db2a76dcec1a23e1357b911bd2889981bc1106 # Parent a87ca0aa184071848637dca4da59a0ea24cb1ae7 [gaim-migrate @ 2320] only notify on change committer: Tailor Script diff -r a87ca0aa1840 -r b2db2a76dcec src/protocols/irc/irc.c --- a/src/protocols/irc/irc.c Wed Sep 19 06:09:15 2001 +0000 +++ b/src/protocols/irc/irc.c Wed Sep 19 07:26:37 2001 +0000 @@ -344,10 +344,12 @@ while (m) { struct buddy *b = m->data; char *tmp = g_strdup(b->name); + char *x; g_strdown(tmp); - if (strstr(id->str->str, tmp)) + x = strstr(id->str->str, tmp); + if (!b->present && x) serv_got_update(gc, b->name, 1, 0, 0, 0, 0, 0); - else + else if (b->present && !x) serv_got_update(gc, b->name, 0, 0, 0, 0, 0, 0); g_free(tmp); m = m->next;