| 1398 return; |
1398 return; |
| 1399 |
1399 |
| 1400 data[0] = irc_mask_nick(from); |
1400 data[0] = irc_mask_nick(from); |
| 1401 data[1] = args[0]; |
1401 data[1] = args[0]; |
| 1402 /* XXX this should have an API, I shouldn't grab this directly */ |
1402 /* XXX this should have an API, I shouldn't grab this directly */ |
| 1403 g_slist_foreach(gc->buddy_chats, (GFunc)irc_chat_remove_buddy, data); |
1403 g_slist_foreach(purple_connection_get_active_chats(gc), |
| |
1404 (GFunc)irc_chat_remove_buddy, data); |
| 1404 |
1405 |
| 1405 if ((ib = g_hash_table_lookup(irc->buddies, data[0])) != NULL) { |
1406 if ((ib = g_hash_table_lookup(irc->buddies, data[0])) != NULL) { |
| 1406 ib->new_online_status = FALSE; |
1407 ib->new_online_status = FALSE; |
| 1407 irc_buddy_status(data[0], ib, irc); |
1408 irc_buddy_status(data[0], ib, irc); |
| 1408 } |
1409 } |