comparison src/protocols/irc/irc.c @ 6787:faa491042c66

[gaim-migrate @ 7326] the add_buddy prpl op now takes a group. It's horribly inconsistent with the rest. This stuff all needs to be updated. Maybe I'll replace it in 0.70cvs. committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Sun, 07 Sep 2003 23:47:00 +0000
parents 90fd056e755d
children 083d1e4a9c78
comparison
equal deleted inserted replaced
6786:8efafdc38718 6787:faa491042c66
287 287
288 args[0] = msg; 288 args[0] = msg;
289 irc_cmd_away(irc, "away", NULL, args); 289 irc_cmd_away(irc, "away", NULL, args);
290 } 290 }
291 291
292 static void irc_add_buddy(GaimConnection *gc, const char *who) 292 static void irc_add_buddy(GaimConnection *gc, const char *who, GaimGroup *group)
293 { 293 {
294 struct irc_conn *irc = (struct irc_conn *)gc->proto_data; 294 struct irc_conn *irc = (struct irc_conn *)gc->proto_data;
295 struct irc_buddy *ib = g_new0(struct irc_buddy, 1); 295 struct irc_buddy *ib = g_new0(struct irc_buddy, 1);
296 ib->name = g_strdup(who); 296 ib->name = g_strdup(who);
297 g_hash_table_insert(irc->buddies, ib->name, ib); 297 g_hash_table_insert(irc->buddies, ib->name, ib);