changeset 17561:3bc25e19ce1c

wabz pointed out that this string comparision was being done twice. I checked to see if maybe I intended to do something else here, but it looks like it's just left over from one when combined OSCAR_STATUS_ID_ONLINE and OSCAR_STATUS_ID_AVAILABLE MiTN: ----------------------------------------------------------------------
author Mark Doliner <mark@kingant.net>
date Sat, 09 Jun 2007 08:01:17 +0000
parents cf0e01adfaa9
children 6f54b1e84610 f71bd7e56389
files libpurple/protocols/oscar/oscar.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/oscar/oscar.c	Fri Jun 08 20:55:13 2007 +0000
+++ b/libpurple/protocols/oscar/oscar.c	Sat Jun 09 08:01:17 2007 +0000
@@ -4386,7 +4386,7 @@
 	if (purple_account_get_bool(account, "web_aware", OSCAR_DEFAULT_WEB_AWARE))
 		data |= AIM_ICQ_STATE_WEBAWARE;
 
-	if (!strcmp(status_id, OSCAR_STATUS_ID_AVAILABLE) || !strcmp(status_id, OSCAR_STATUS_ID_AVAILABLE))
+	if (!strcmp(status_id, OSCAR_STATUS_ID_AVAILABLE))
 		data |= AIM_ICQ_STATE_NORMAL;
 	else if (!strcmp(status_id, OSCAR_STATUS_ID_AWAY))
 		data |= AIM_ICQ_STATE_AWAY;