comparison src/protocols/irc/irc.c @ 9238:f4f210e47b60

[gaim-migrate @ 10036] This is Tim's patch from 908047. I'm committing it now instead of letting him commit it so I can continue to feel relevant. If it breaks, tell Tim. If it doesn't, I'll take the credit. committer: Tailor Script <tailor@pidgin.im>
author Ethan Blanton <elb@pidgin.im>
date Tue, 08 Jun 2004 05:34:51 +0000
parents dcb290a0c970
children 7a8aa87164ae
comparison
equal deleted inserted replaced
9237:fac583b4ecdf 9238:f4f210e47b60
359 { 359 {
360 struct irc_conn *irc = (struct irc_conn *)gc->proto_data; 360 struct irc_conn *irc = (struct irc_conn *)gc->proto_data;
361 struct irc_buddy *ib = g_new0(struct irc_buddy, 1); 361 struct irc_buddy *ib = g_new0(struct irc_buddy, 1);
362 ib->name = g_strdup(who); 362 ib->name = g_strdup(who);
363 g_hash_table_insert(irc->buddies, ib->name, ib); 363 g_hash_table_insert(irc->buddies, ib->name, ib);
364
365 irc_blist_timeout(irc);
364 } 366 }
365 367
366 static void irc_remove_buddy(GaimConnection *gc, const char *who, const char *group) 368 static void irc_remove_buddy(GaimConnection *gc, const char *who, const char *group)
367 { 369 {
368 struct irc_conn *irc = (struct irc_conn *)gc->proto_data; 370 struct irc_conn *irc = (struct irc_conn *)gc->proto_data;