diff options
| author | Wilmer van der Gaast <wilmer@gaast.net> | 2010-10-01 22:19:27 -0700 | 
|---|---|---|
| committer | Wilmer van der Gaast <wilmer@gaast.net> | 2010-10-01 22:19:27 -0700 | 
| commit | 04cd284bce74c114fde3043c951a5c8ef9eb79ae (patch) | |
| tree | b5f7c59a2c25b7261017cf4eeef2b85909ee33c2 | |
| parent | ed86165b5681b7c3ed8a7b2ce8bda0dafd6fcd52 (diff) | |
Export block/allow list again. The way this is done is ugly though and needs
to change.
| -rw-r--r-- | protocols/msn/soap.c | 6 | 
1 files changed, 6 insertions, 0 deletions
| 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 ) | 
