Changes in protocols/yahoo/libyahoo2.c [be915f5:ccba980]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/yahoo/libyahoo2.c
rbe915f5 rccba980 4099 4099 4100 4100 yd = yid->yd; 4101 4101 4102 old_status = yd->current_status; 4102 yd->current_status = state; 4103 4104 if (msg && strncmp(msg,"Invisible",9)) { 4105 yd->current_status = YAHOO_STATUS_CUSTOM; 4106 } else { 4107 yd->current_status = state; 4108 } 4103 4109 4104 4110 /* Thank you libpurple :) */ … … 4115 4121 snprintf(s, sizeof(s), "%d", yd->current_status); 4116 4122 yahoo_packet_hash(pkt, 10, s); 4117 yahoo_packet_hash(pkt, 19, msg && state == YAHOO_STATUS_CUSTOM ? msg : ""); 4123 4124 if (yd->current_status == YAHOO_STATUS_CUSTOM) { 4125 yahoo_packet_hash(pkt, 19, msg); 4126 } else { 4127 yahoo_packet_hash(pkt, 19, ""); 4128 } 4129 4118 4130 yahoo_packet_hash(pkt, 47, (away == 2)? "2": (away) ?"1":"0"); 4131 4119 4132 yahoo_send_packet(yid, pkt, 0); 4120 4133 yahoo_packet_free(pkt);
Note: See TracChangeset
for help on using the changeset viewer.