comparison src/protocols/irc/irc.c @ 2681:37d80035e77f

[gaim-migrate @ 2694] don't ask. committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Tue, 06 Nov 2001 23:58:24 +0000
parents 65a602693286
children 2d544f48146d
comparison
equal deleted inserted replaced
2680:ab2ca2770d2e 2681:37d80035e77f
1336 return send_msg(gc, who + 1, what); 1336 return send_msg(gc, who + 1, what);
1337 return send_msg(gc, who, what); 1337 return send_msg(gc, who, what);
1338 } 1338 }
1339 1339
1340 /* IRC doesn't have a buddy list, but we can still figure out who's online with ISON */ 1340 /* IRC doesn't have a buddy list, but we can still figure out who's online with ISON */
1341 static void irc_fake_buddy(struct gaim_connection *gc, char *who) {} 1341 static void irc_add_buddy(struct gaim_connection *gc, char *who) {}
1342 static void irc_remove_buddy(struct gaim_connection *gc, char *who, char *group) {}
1342 1343
1343 static GList *irc_chat_info(struct gaim_connection *gc) 1344 static GList *irc_chat_info(struct gaim_connection *gc)
1344 { 1345 {
1345 GList *m = NULL; 1346 GList *m = NULL;
1346 struct proto_chat_entry *pce; 1347 struct proto_chat_entry *pce;
1459 ret->user_opts = irc_user_opts; 1460 ret->user_opts = irc_user_opts;
1460 ret->list_icon = irc_list_icon; 1461 ret->list_icon = irc_list_icon;
1461 ret->login = irc_login; 1462 ret->login = irc_login;
1462 ret->close = irc_close; 1463 ret->close = irc_close;
1463 ret->send_im = irc_send_im; 1464 ret->send_im = irc_send_im;
1464 ret->add_buddy = irc_fake_buddy; 1465 ret->add_buddy = irc_add_buddy;
1465 ret->remove_buddy = irc_fake_buddy; 1466 ret->remove_buddy = irc_remove_buddy;
1466 ret->chat_info = irc_chat_info; 1467 ret->chat_info = irc_chat_info;
1467 ret->join_chat = irc_join_chat; 1468 ret->join_chat = irc_join_chat;
1468 ret->chat_leave = irc_chat_leave; 1469 ret->chat_leave = irc_chat_leave;
1469 ret->chat_send = irc_chat_send; 1470 ret->chat_send = irc_chat_send;
1470 ret->away_states = irc_away_states; 1471 ret->away_states = irc_away_states;