changeset 31128:d80d32644492

Fix this inverted logic. Disconnect the selected endpoints as said in the field label.
author masca@cpw.pidgin.im
date Thu, 04 Feb 2010 20:54:09 +0000
parents fe607234b0d8
children b27d2e8f137e
files libpurple/protocols/msn/msn.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/msn/msn.c	Wed Dec 16 23:45:27 2009 +0000
+++ b/libpurple/protocols/msn/msn.c	Thu Feb 04 20:54:09 2010 +0000
@@ -391,7 +391,7 @@
 		PurpleRequestField *field = others->data;
 		if (purple_request_field_get_type(field) != PURPLE_REQUEST_FIELD_BOOLEAN)
 			continue;
-		if (!purple_request_field_bool_get_value(field)) {
+		if (purple_request_field_bool_get_value(field)) {
 			const char *id = purple_request_field_get_id(field);
 			char *user;
 			purple_debug_info("msn", "Disconnecting Endpoint %s\n", id);