Mercurial > pidgin.yaz
diff src/server.c @ 2345:a49e8f1afbc4
[gaim-migrate @ 2358]
you say potato, i say potato
you say tomato, i say tomato
potato, potato
tomato, tomato
let's call the whole thing off.
*sigh*. it just doesn't work as well when it's typed. but you wouldn't want to hear me sing it.
committer: Tailor Script <tailor@pidgin.im>
| author | Eric Warmenhoven <eric@warmenhoven.org> |
|---|---|
| date | Sat, 22 Sep 2001 09:14:27 +0000 |
| parents | b53cd5b63a99 |
| children | ad56a93661fc |
line wrap: on
line diff
--- a/src/server.c Sat Sep 22 07:02:30 2001 +0000 +++ b/src/server.c Sat Sep 22 09:14:27 2001 +0000 @@ -302,6 +302,7 @@ void serv_chat_invite(struct gaim_connection *g, int id, char *message, char *name) { + plugin_event(event_chat_send_invite, g, (void *)id, name, message); if (g->prpl && g->prpl->chat_invite) (*g->prpl->chat_invite)(g, id, message, name); } @@ -836,7 +837,7 @@ { struct conversation *b; - plugin_event(event_chat_join, gc, name, 0, 0); + plugin_event(event_chat_join, gc, (void *)id, name, 0); b = (struct conversation *)g_new0(struct conversation, 1); gc->buddy_chats = g_slist_append(gc->buddy_chats, b); @@ -894,7 +895,7 @@ if (!b) return; - plugin_event(event_chat_leave, g, b->name, 0, 0); + plugin_event(event_chat_leave, g, (void *)b->id, 0, 0); debug_printf("Leaving room %s.\n", b->name); @@ -921,7 +922,7 @@ if (!b) return; - if (plugin_event(event_chat_recv, g, b->name, who, message)) + if (plugin_event(event_chat_recv, g, (void *)b->id, who, message)) return; buf = g_malloc(MAX(strlen(message) * 2, 8192));
