diff 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
line wrap: on
line diff
--- a/src/conversation.c	Sun Oct 15 03:55:23 2000 +0000
+++ b/src/conversation.c	Mon Oct 16 20:11:18 2000 +0000
@@ -139,7 +139,7 @@
 	if (connections)
 		c->gc = (struct gaim_connection *)connections->data;
         conversations = g_list_append(conversations, c);
-	plugin_event(event_new_conversation, name, 0, 0);
+	plugin_event(event_new_conversation, name, 0, 0, 0);
         return c;
 }
 
@@ -684,7 +684,7 @@
 	{
 		char *buffy = g_strdup(buf);
 		enum gaim_event evnt = c->is_chat ? event_chat_send : event_im_send;
-		plugin_event(evnt, c->name, &buffy, 0);
+		plugin_event(evnt, c->gc, c->name, &buffy, 0);
 		if (!buffy) {
 			g_free(buf2);
 			g_free(buf);