From: Ethan B. <ebl...@us...> - 2004-08-01 01:26:41
|
Update of /cvsroot/gaim/gaim/src/protocols/silc In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28383/src/protocols/silc Modified Files: ops.c Log Message: A patch from Stu to solve the same buddy renaming problem we had in IRC. I continue to wonder if this shouldn't be re-fixed in the core... Index: ops.c =================================================================== RCS file: /cvsroot/gaim/gaim/src/protocols/silc/ops.c,v retrieving revision 1.12 retrieving revision 1.13 diff -u -d -p -r1.12 -r1.13 --- ops.c 17 Jul 2004 18:11:11 -0000 1.12 +++ ops.c 1 Aug 2004 01:26:33 -0000 1.13 @@ -374,9 +374,10 @@ silc_notify(SilcClient client, SilcClien sg->account); if (!convo) continue; - gaim_conv_chat_rename_user(GAIM_CONV_CHAT(convo), - client_entry->nickname, - client_entry2->nickname); + if (gaim_conv_chat_find_user(GAIM_CONV_CHAT(convo), client_entry->nickname)) + gaim_conv_chat_rename_user(GAIM_CONV_CHAT(convo), + client_entry->nickname, + client_entry2->nickname); } silc_hash_table_list_reset(&htl); |