diff src/toc.c @ 964:2cd7b73e2c9a

[gaim-migrate @ 974] damn i'm smooth. chat is working now. :) committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Tue, 10 Oct 2000 10:04:59 +0000
parents fa681641643d
children f7886476f9d9
line wrap: on
line diff
--- a/src/toc.c	Tue Oct 10 09:14:26 2000 +0000
+++ b/src/toc.c	Tue Oct 10 10:04:59 2000 +0000
@@ -39,7 +39,7 @@
 #include "gaim.h"
 #include "gnome_applet_mgr.h"
 
-#define REVISION "gaim:$Revision: 970 $"
+#define REVISION "gaim:$Revision: 974 $"
 
 
 static unsigned int peer_ver=0;
@@ -497,7 +497,7 @@
 
 		sscanf(strtok(NULL, ":"), "%d", &id);
                 name = strtok(NULL, ":");
-                serv_got_joined_chat(id, name);
+                serv_got_joined_chat(gc, id, name);
 
 	} else if (!strcasecmp(c, "DIR_STATUS")) {
 	} else if (!strcasecmp(c, "ADMIN_PASSWD_STATUS")) {
@@ -506,7 +506,7 @@
 		int id;
 		char *in;
 		char *buddy;
-                GList *bcs = buddy_chats;
+                GSList *bcs = gc->buddy_chats;
 		struct conversation *b = NULL;
 		
 		sscanf(strtok(NULL, ":"), "%d", &id);
@@ -543,7 +543,7 @@
 
                 sscanf(strtok(NULL, ":"), "%d", &id);
 
-                serv_got_chat_left(id);
+                serv_got_chat_left(gc, id);
 
 
 	} else if (!strcasecmp(c, "CHAT_IN")) {
@@ -565,7 +565,7 @@
 		else
 			w = 0;
 
-		serv_got_chat_in(id, who, w, m);
+		serv_got_chat_in(gc, id, who, w, m);
 
 
 	} else if (!strcasecmp(c, "CHAT_INVITE")) {
@@ -580,7 +580,7 @@
 		who = strtok(NULL, ":");
                 message = strtok(NULL, ":");
 
-                serv_got_chat_invite(name, id, who, message);
+                serv_got_chat_invite(gc, name, id, who, message);
 
 
         } else if (!strcasecmp(c, "RVOUS_PROPOSE")) {