src/protocols/oscar/oscar.c

changeset 4960
65bf67b7600f
parent 4959
f59fe1f96ffd
child 4961
9cc58b7feb6f
--- a/src/protocols/oscar/oscar.c	Wed Apr 02 05:50:04 2003 +0000
+++ b/src/protocols/oscar/oscar.c	Wed Apr 02 06:32:54 2003 +0000
@@ -227,8 +227,6 @@
 
 	fu16_t iconcsumlen;
 	fu8_t iconcsum[30];
-
-	double shoesize;
 };
 
 struct name_data {
@@ -1833,9 +1831,6 @@
 		free(b16);
 	}
 
-	bi->shoesize = (rand()%5)+7;
-	if (rand()%2)  bi->shoesize+=0.5;
-
 	serv_got_update(gc, info->sn, 1, info->warnlevel/10, signon, time_idle, type);
 
 	return 1;
@@ -3082,13 +3077,6 @@
 			g_free(status);
 		}
 
-		{
-			char *tmp;
-			tmp = yay;
-			yay = g_strdup_printf("%s\n<b>Shoe Size:</b> %2.1f", tmp, bi->shoesize);
-			g_free(tmp);
-		}
-
 		return yay;
 	} else {
 		return NULL;
@@ -5208,21 +5196,18 @@
 		emblems[i++] = "offline";
 
 	if (b->name && (b->uc & 0xffff0000) && isdigit(b->name[0])) {
-/*		int uc = b->uc >> 16;
+		int uc = b->uc >> 16;
 		if (uc & AIM_ICQ_STATE_INVISIBLE)
-			emblems[i++] = "icq_invisible";
+			emblems[i++] = "invisible";
 		else if (uc & AIM_ICQ_STATE_CHAT)
-			emblems[i++] = "icq_chat";
+			emblems[i++] = "freeforchat";
 		else if (uc & AIM_ICQ_STATE_DND)
-			emblems[i++] = "icq_dnd";
+			emblems[i++] = "dnd";
 		else if (uc & AIM_ICQ_STATE_OUT)
-			emblems[i++] = "icq_out";
+			emblems[i++] = "na";
 		else if (uc & AIM_ICQ_STATE_BUSY)
-			emblems[i++] = "icq_busy";
+			emblems[i++] = "occupied";
 		else if (uc & AIM_ICQ_STATE_AWAY)
-			emblems[i++] = "icq_away";
-*/
-		if (b->uc & UC_UNAVAILABLE) 
 			emblems[i++] = "away";
 	} else {
 		if (b->uc & UC_UNAVAILABLE) 

mercurial