diff options
| author | Wilmer van der Gaast <wilmer@gaast.net> | 2006-03-21 09:11:10 +0100 | 
|---|---|---|
| committer | Wilmer van der Gaast <wilmer@gaast.net> | 2006-03-21 09:11:10 +0100 | 
| commit | 1ad104ab06fe3f7db1b55cc178e92e43cbda9d95 (patch) | |
| tree | 486ce69e71ef3104965d29e922ed59f021a4afd8 /protocols | |
| parent | bc736cfadae460de29553ec0f9bb6e452dfe407d (diff) | |
ns.c now passess the first group a buddy is in.
Diffstat (limited to 'protocols')
| -rw-r--r-- | protocols/msn/ns.c | 8 | 
1 files changed, 7 insertions, 1 deletions
| diff --git a/protocols/msn/ns.c b/protocols/msn/ns.c index 57212910..90d525ef 100644 --- a/protocols/msn/ns.c +++ b/protocols/msn/ns.c @@ -287,7 +287,13 @@ static int msn_ns_command( gpointer data, char **cmd, int num_parts )  		if( list & 1 ) /* FL */  		{ -			add_buddy( gc, NULL, cmd[1], cmd[2] ); +			char *group = NULL; +			int num; +			 +			if( cmd[4] != NULL && sscanf( cmd[4], "%d", &num ) == 1 ) +				group = md->grouplist[num]; +			 +			add_buddy( gc, group, cmd[1], cmd[2] );  		}  		if( list & 2 ) /* AL */  		{ | 
