aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWilmer van der Gaast <wilmer@gaast.net>2010-10-01 22:19:27 -0700
committerWilmer van der Gaast <wilmer@gaast.net>2010-10-01 22:19:27 -0700
commit04cd284bce74c114fde3043c951a5c8ef9eb79ae (patch)
treeb5f7c59a2c25b7261017cf4eeef2b85909ee33c2
parented86165b5681b7c3ed8a7b2ce8bda0dafd6fcd52 (diff)
Export block/allow list again. The way this is done is ugly though and needs
to change.
-rw-r--r--protocols/msn/soap.c6
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 )