Changeset 1ad104a for protocols/msn


Ignore:
Timestamp:
2006-03-21T08:11:10Z (19 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
aefa533e
Parents:
bc736cfa
Message:

ns.c now passess the first group a buddy is in.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/msn/ns.c

    rbc736cfa r1ad104a  
    288288                if( list & 1 ) /* FL */
    289289                {
    290                         add_buddy( gc, NULL, cmd[1], cmd[2] );
     290                        char *group = NULL;
     291                        int num;
     292                       
     293                        if( cmd[4] != NULL && sscanf( cmd[4], "%d", &num ) == 1 )
     294                                group = md->grouplist[num];
     295                       
     296                        add_buddy( gc, group, cmd[1], cmd[2] );
    291297                }
    292298                if( list & 2 ) /* AL */
Note: See TracChangeset for help on using the changeset viewer.