changeset 4972:ba713dabf3ef

[gaim-migrate @ 5306] The_Developer pointed out that sending an auto-reply from an ICQ account results in a SNAC error (ICQ doesn't really have auto-replies). So I just made it so perl scripts and plugins _can't_ send ICQ auto-replies. No biggie. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Thu, 03 Apr 2003 06:13:26 +0000
parents da7a91c2e0dc
children a9b49d0e8970
files src/protocols/oscar/oscar.c
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/protocols/oscar/oscar.c	Thu Apr 03 05:59:01 2003 +0000
+++ b/src/protocols/oscar/oscar.c	Thu Apr 03 06:13:26 2003 +0000
@@ -4155,11 +4155,11 @@
 		} else {
 			args.features = features_aim;
 			args.featureslen = sizeof(features_aim);
+
+			if (imflags & IM_FLAG_AWAY)
+				args.flags |= AIM_IMFLAGS_AWAY;
 		}
 
-		if (imflags & IM_FLAG_AWAY)
-			args.flags |= AIM_IMFLAGS_AWAY;
-
 		if (bi->ico_need) {
 			debug_printf("Sending buddy icon request with message\n");
 			args.flags |= AIM_IMFLAGS_BUDDYREQ;