aboutsummaryrefslogtreecommitdiffstats
path: root/protocols/oscar/oscar.c
diff options
context:
space:
mode:
authorWilmer van der Gaast <wilmer@gaast.net>2006-04-03 22:21:35 +0200
committerWilmer van der Gaast <wilmer@gaast.net>2006-04-03 22:21:35 +0200
commite6d6047924c7f6b70d51398a617ada03ac1850de (patch)
tree1945870856e8420c9184af2cfd28e8b0e45b1c64 /protocols/oscar/oscar.c
parent57ef86480b13cec08cec29f8352b168d9a16f4e4 (diff)
Added/Fixed calls to show_got_added() in all IM-modules, now to fill in that
call. (It should ask the user if he/she wants to add a buddy to his/her list.)
Diffstat (limited to 'protocols/oscar/oscar.c')
-rw-r--r--protocols/oscar/oscar.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/protocols/oscar/oscar.c b/protocols/oscar/oscar.c
index 97384afb..3342fa42 100644
--- a/protocols/oscar/oscar.c
+++ b/protocols/oscar/oscar.c
@@ -1118,7 +1118,8 @@ static void gaim_icq_authgrant(gpointer w, struct icq_auth *data) {
message = 0;
aim_ssi_auth_reply(od->sess, od->conn, uin, 1, "");
// aim_send_im_ch4(od->sess, uin, AIM_ICQMSG_AUTHGRANTED, &message);
- show_got_added(data->gc, NULL, uin, NULL, NULL);
+ if(find_buddy(data->gc, uin) == NULL)
+ show_got_added(data->gc, uin, NULL);
g_free(uin);
g_free(data);