src/protocols/yahoo/yay.c

changeset 2491
eaed79bf50e5
parent 2382
69a4e3665132
child 2501
5e1fa4926c93
--- a/src/protocols/yahoo/yay.c	Fri Oct 12 17:35:22 2001 +0000
+++ b/src/protocols/yahoo/yay.c	Fri Oct 12 18:04:15 2001 +0000
@@ -399,9 +399,9 @@
 	if ((flags & IM_FLAG_AWAY)|| !strlen(message)) return 0;
 
 	if (flags & IM_FLAG_CHECKBOX)
-		yahoo_send_message(yd->sess, yd->active_id, who, message);
+		yahoo_send_message_offline(yd->sess, yd->active_id, who, message);
 	else
-		yahoo_send_message_offline(yd->sess, yd->active_id, who, message);
+		yahoo_send_message(yd->sess, yd->active_id, who, message);
 	return 1;
 }
 

mercurial