From 3325df779173020b789f7d4006ae109a75a2b9d2 Mon Sep 17 00:00:00 2001 From: dequis Date: Mon, 17 Nov 2014 02:57:16 -0300 Subject: msn_buddy_ask: only ask to add if contact is in pending list Previously it asked if they were in pending/reverse but not allow/block. In theory that would fix inconsistent states. And in practice... nope. --- protocols/msn/msn_util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'protocols') diff --git a/protocols/msn/msn_util.c b/protocols/msn/msn_util.c index c6afd29a..d15bc123 100644 --- a/protocols/msn/msn_util.c +++ b/protocols/msn/msn_util.c @@ -206,7 +206,7 @@ void msn_buddy_ask( bee_user_t *bu ) struct msn_buddy_data *bd = bu->data; char buf[1024]; - if( ( bd->flags & 30 ) != 8 && ( bd->flags & 30 ) != 16 ) + if( !( bd->flags & MSN_BUDDY_PL ) ) return; bla = g_new0( struct msn_buddy_ask_data, 1 ); -- cgit v1.2.3