diff options
author | dequis <dx@dxzone.com.ar> | 2014-11-17 02:57:16 -0300 |
---|---|---|
committer | dequis <dx@dxzone.com.ar> | 2014-11-17 02:57:16 -0300 |
commit | 3325df779173020b789f7d4006ae109a75a2b9d2 (patch) | |
tree | c2fb11aebb93d0b33b617b64444f1b3d92e44b87 /protocols | |
parent | a77a9ef9b863d0d464f8461f7221d93a74d0a18b (diff) |
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.
Diffstat (limited to 'protocols')
-rw-r--r-- | protocols/msn/msn_util.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 ); |