Mercurial > pidgin.yaz
diff plugins/irc.c @ 1678:1573a65fd0cd
[gaim-migrate @ 1688]
Add and Remove buttons work in IRC...
committer: Tailor Script <tailor@pidgin.im>
author | Rob Flynn <gaim@robflynn.com> |
---|---|
date | Mon, 02 Apr 2001 07:15:06 +0000 |
parents | a3d857c8984e |
children | 34369ed4e212 |
line wrap: on
line diff
--- a/plugins/irc.c Mon Apr 02 06:48:27 2001 +0000 +++ b/plugins/irc.c Mon Apr 02 07:15:06 2001 +0000 @@ -1279,6 +1279,15 @@ write(idata->fd, buf, strlen(buf)); } +static void irc_fake_buddy(struct gaim_connection *gc, char *who) +{ + /* Heh, there is no buddy list. We fake it. + * I just need this here so the add and remove buttons will + * show up */ +} + + + static struct prpl *my_protocol = NULL; static void irc_init(struct prpl *ret) @@ -1296,6 +1305,8 @@ ret->chat_send = irc_chat_send; ret->get_info = irc_get_info; ret->set_away = irc_set_away; + ret->add_buddy = irc_fake_buddy; + ret->remove_buddy = irc_fake_buddy; my_protocol = ret; }