changeset 828:4c71c0e7f04e

[gaim-migrate @ 838] small changes for oscar. look for big, good ones later today. committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Fri, 01 Sep 2000 23:45:43 +0000
parents cc07bbd39472
children 9a123b171f46
files src/oscar.c
diffstat 1 files changed, 5 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/oscar.c	Fri Sep 01 21:58:15 2000 +0000
+++ b/src/oscar.c	Fri Sep 01 23:45:43 2000 +0000
@@ -135,6 +135,11 @@
 					 * libfaim won't tell us which room */
 					debug_print("connection error for chat...\n");
 					aim_conn_kill(gaim_sess, &conn);
+				} else if (conn->type == AIM_CONN_TYPE_CHATNAV) {
+					gdk_input_remove(cnpa);
+					cnpa = -1;
+					debug_print("removing chatnav input watcher\n");
+					aim_conn_kill(gaim_sess, &conn);
 				} else {
 					sprintf(debug_buff, "holy crap! generic connection error! %d\n",
 							conn->type);
@@ -842,9 +847,6 @@
 				i++;
 			}
 			}
-			gdk_input_remove(cnpa);
-			cnpa = -1;
-			aim_conn_kill(sess, &command->conn);
 			break;
 		default:
 			va_end(ap);