From 04cd284bce74c114fde3043c951a5c8ef9eb79ae Mon Sep 17 00:00:00 2001 From: Wilmer van der Gaast Date: Fri, 1 Oct 2010 22:19:27 -0700 Subject: Export block/allow list again. The way this is done is ugly though and needs to change. --- protocols/msn/soap.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'protocols') diff --git a/protocols/msn/soap.c b/protocols/msn/soap.c index 63e5c638..a1b5be76 100644 --- a/protocols/msn/soap.c +++ b/protocols/msn/soap.c @@ -625,9 +625,15 @@ static xt_status msn_soap_memlist_member( struct xt_node *node, gpointer data ) bd = bu->data; if( strcmp( role, "Allow" ) == 0 ) + { bd->flags |= MSN_BUDDY_AL; + ic->permit = g_slist_prepend( ic->permit, g_strdup( handle ) ); + } else if( strcmp( role, "Block" ) == 0 ) + { bd->flags |= MSN_BUDDY_BL; + ic->deny = g_slist_prepend( ic->deny, g_strdup( handle ) ); + } else if( strcmp( role, "Reverse" ) == 0 ) bd->flags |= MSN_BUDDY_RL; else if( strcmp( role, "Pending" ) == 0 ) -- cgit v1.2.3