Update of /cvsroot/gaim/gaim/src/protocols/yahoo
In directory usw-pr-cvs1:/tmp/cvs-serv30977/protocols/yahoo
Modified Files:
yahoo.c
Log Message:
isback?
Index: yahoo.c
===================================================================
RCS file: /cvsroot/gaim/gaim/src/protocols/yahoo/yahoo.c,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -d -r1.15 -r1.16
--- yahoo.c 2001/11/19 22:25:40 1.15
+++ yahoo.c 2001/11/19 23:32:04 1.16
@@ -967,6 +967,7 @@
{
struct yahoo_data *yd = (struct yahoo_data *)gc->proto_data;
struct yahoo_packet *pkt;
+ int service;
char s[4];
gc->away = NULL;
@@ -1013,7 +1014,11 @@
yd->current_status = YAHOO_STATUS_AVAILABLE;
}
- pkt = yahoo_packet_new(YAHOO_SERVICE_ISAWAY, yd->current_status, 0);
+ if (yd->current_status == YAHOO_STATUS_AVAILABLE)
+ service = YAHOO_SERVICE_ISBACK;
+ else
+ service = YAHOO_SERVICE_ISAWAY;
+ pkt = yahoo_packet_new(service, yd->current_status, 0);
g_snprintf(s, sizeof(s), "%d", yd->current_status);
yahoo_packet_hash(pkt, 10, s);
if (yd->current_status == YAHOO_STATUS_CUSTOM)
|