comparison src/conversation.c @ 1000:91b7377e7b45

[gaim-migrate @ 1010] Plugins work again, I think. There may still be some bugginess. committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Mon, 16 Oct 2000 20:11:18 +0000
parents 70c685de2be5
children 1d8f05ea6bdf
comparison
equal deleted inserted replaced
999:0b5db8cdd30f 1000:91b7377e7b45
137 137
138 show_conv(c); 138 show_conv(c);
139 if (connections) 139 if (connections)
140 c->gc = (struct gaim_connection *)connections->data; 140 c->gc = (struct gaim_connection *)connections->data;
141 conversations = g_list_append(conversations, c); 141 conversations = g_list_append(conversations, c);
142 plugin_event(event_new_conversation, name, 0, 0); 142 plugin_event(event_new_conversation, name, 0, 0, 0);
143 return c; 143 return c;
144 } 144 }
145 145
146 146
147 struct conversation *find_conversation(char *name) 147 struct conversation *find_conversation(char *name)
682 } 682 }
683 683
684 { 684 {
685 char *buffy = g_strdup(buf); 685 char *buffy = g_strdup(buf);
686 enum gaim_event evnt = c->is_chat ? event_chat_send : event_im_send; 686 enum gaim_event evnt = c->is_chat ? event_chat_send : event_im_send;
687 plugin_event(evnt, c->name, &buffy, 0); 687 plugin_event(evnt, c->gc, c->name, &buffy, 0);
688 if (!buffy) { 688 if (!buffy) {
689 g_free(buf2); 689 g_free(buf2);
690 g_free(buf); 690 g_free(buf);
691 return; 691 return;
692 } 692 }