changeset 12610:e81adace5355

[gaim-migrate @ 14946] Looks like this flag was not the cause of the spam, so I'm re-adding it committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Thu, 22 Dec 2005 02:20:39 +0000
parents b81a7d1422d8
children 4c7e5eb7c09d
files src/protocols/oscar/service.c
diffstat 1 files changed, 1 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/src/protocols/oscar/service.c	Thu Dec 22 01:34:41 2005 +0000
+++ b/src/protocols/oscar/service.c	Thu Dec 22 02:20:39 2005 +0000
@@ -807,11 +807,7 @@
 	if (!sess || !(conn = aim_conn_findbygroup(sess, AIM_CB_FAM_MSG)))
 		return -EINVAL;
 
-	/*
-	 * 'AIM_ICQ_STATE_DIRECTREQUIREAUTH' was removed because setting it might
-	 * be the cause of people reciving many unsolicited authorization requests.
-	 */
-	data = AIM_ICQ_STATE_HIDEIP | status;
+	data = AIM_ICQ_STATE_HIDEIP | AIM_ICQ_STATE_DIRECTREQUIREAUTH | status;
 
 	if (!(fr = aim_tx_new(sess, conn, AIM_FRAMETYPE_FLAP, 0x02, 10 + 8)))
 		return -ENOMEM;