comparison src/server.c @ 694:150214f1d48b

[gaim-migrate @ 704] bah. oscar sucks a fat one. committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Wed, 16 Aug 2000 01:53:59 +0000
parents 30a8e386849d
children 668b4d544afe
comparison
equal deleted inserted replaced
693:30a8e386849d 694:150214f1d48b
589 589
590 sprintf(debug_buff, "Attempting to leave room %s (currently in %d rooms)\n", 590 sprintf(debug_buff, "Attempting to leave room %s (currently in %d rooms)\n",
591 b->name, count); 591 b->name, count);
592 debug_print(debug_buff); 592 debug_print(debug_buff);
593 593
594 aim_chat_leaveroom(gaim_sess, b->name); 594 // aim_chat_leaveroom(gaim_sess, b->name);
595 c = find_oscar_chat(b->name); 595 c = find_oscar_chat(b->name);
596 if (c != NULL) { 596 if (c != NULL) {
597 aim_conn_kill(gaim_sess, &c->conn);
598 oscar_chats = g_list_remove(oscar_chats, c); 597 oscar_chats = g_list_remove(oscar_chats, c);
599 gdk_input_remove(c->inpa); 598 gdk_input_remove(c->inpa);
599 aim_conn_kill(gaim_sess, &c->conn);
600 g_free(c->name); 600 g_free(c->name);
601 g_free(c); 601 g_free(c);
602 } 602 }
603 /* we do this because with Oscar it doesn't tell us we left */ 603 /* we do this because with Oscar it doesn't tell us we left */
604 serv_got_chat_left(b->id); 604 serv_got_chat_left(b->id);