diff options
Diffstat (limited to 'protocols/msn/soap.c')
-rw-r--r-- | protocols/msn/soap.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/protocols/msn/soap.c b/protocols/msn/soap.c index b994172b..35299b28 100644 --- a/protocols/msn/soap.c +++ b/protocols/msn/soap.c @@ -759,9 +759,17 @@ static int msn_soap_addressbook_handle_response( struct msn_soap_req_data *soap_ if( ( bd->flags & ( MSN_BUDDY_AL | MSN_BUDDY_BL ) ) == ( MSN_BUDDY_AL | MSN_BUDDY_BL ) ) { + /* both allow and block, delete block, add wtf */ bd->flags &= ~MSN_BUDDY_BL; wtf++; } + + + if( ( bd->flags & ( MSN_BUDDY_AL | MSN_BUDDY_BL ) ) == 0 ) + { + /* neither allow or block, add allow */ + bd->flags |= MSN_BUDDY_AL; + } } } |