diff src/protocols/yahoo/yay.c @ 2491:75c62304c489

[gaim-migrate @ 2504] send offline properly committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Fri, 12 Oct 2001 18:04:15 +0000
parents 569ae9f2bb89
children 227cc42ffa6e
line wrap: on
line diff
--- 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;
 }