diff src/protocols/oscar/oscar.c @ 8568:88988327a4e0

[gaim-migrate @ 9316] Remove the get_away prpl function. Nada used it. Pink elephants on parade. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Sat, 03 Apr 2004 01:33:45 +0000
parents f4d8a73f7bcc
children a3ea56f147c7
line wrap: on
line diff
--- a/src/protocols/oscar/oscar.c	Sat Apr 03 00:11:49 2004 +0000
+++ b/src/protocols/oscar/oscar.c	Sat Apr 03 01:33:45 2004 +0000
@@ -4589,23 +4589,6 @@
 		aim_locate_getinfoshort(od->sess, name, 0x00000003);
 }
 
-static void oscar_get_away(GaimConnection *gc, const char *who) {
-	OscarData *od = (OscarData *)gc->proto_data;
-	if (od->icq) {
-		GaimBuddy *budlight = gaim_find_buddy(gc->account, who);
-		if (budlight)
-			if ((budlight->uc & 0xffff0000) >> 16)
-				aim_im_sendch2_geticqaway(od->sess, who, (budlight->uc & 0xffff0000) >> 16);
-			else
-				gaim_debug(GAIM_DEBUG_ERROR, "oscar",
-						   "Error: The user %s has no status message, therefore not requesting.\n", who);
-		else
-			gaim_debug(GAIM_DEBUG_ERROR, "oscar",
-					   "Error: Could not find %s in local buddy list, therefore unable to request status message.\n", who);
-	} else
-		aim_locate_getinfoshort(od->sess, who, 0x00000002);
-}
-
 static void oscar_set_dir(GaimConnection *gc, const char *first, const char *middle, const char *last,
 			  const char *maiden, const char *city, const char *state, const char *country, int web) {
 	/* XXX - some of these things are wrong, but i'm lazy */
@@ -6930,7 +6913,6 @@
 	oscar_send_typing,
 	oscar_get_info,
 	oscar_set_away,
-	oscar_get_away,
 	oscar_set_dir,
 	NULL,
 	oscar_dir_search,