changeset 3121:025a8042dd73

[gaim-migrate @ 3136] A nice little msn fix by Gerd Behrmann committer: Tailor Script <tailor@pidgin.im>
author Sean Egan <seanegan@gmail.com>
date Tue, 02 Apr 2002 01:04:35 +0000
parents d903b60f9c50
children 4d967ccd797b
files src/protocols/msn/msn.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/protocols/msn/msn.c	Sun Mar 31 15:13:12 2002 +0000
+++ b/src/protocols/msn/msn.c	Tue Apr 02 01:04:35 2002 +0000
@@ -947,6 +947,7 @@
 		} else if (!g_strcasecmp(which, "BL") && pos) {
 			gc->deny = g_slist_append(gc->deny, g_strdup(who));
 		} else if (!g_strcasecmp(which, "RL")) {
+		    if (pos) {
 			while(perm) {
 				if(!g_strcasecmp(perm->data, who))
 					new = 0;
@@ -967,6 +968,7 @@
 		                g_snprintf(msg, sizeof(msg), "The user %s (%s) wants to add you to their buddy list",ap->user, url_decode(ap->friend));
 				do_ask_dialog(msg, ap, msn_accept_add, msn_cancel_add);
 			}
+		    }
 			
 			if (pos != tot) 
 				return 1; /* this isn't the last one in the RL, so return. */