ayttm-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Ayttm-commits] CVS: ayttm/modules/msn2 msn.C,1.50,1.51


From: Colin Leroy <address@hidden>
Subject: [Ayttm-commits] CVS: ayttm/modules/msn2 msn.C,1.50,1.51
Date: Tue, 28 Jan 2003 08:08:41 -0500

Update of /cvsroot/ayttm/ayttm/modules/msn2
In directory subversions:/tmp/cvs-serv22605/modules/msn2

Modified Files:
        msn.C 
Log Message:
- modules/msn2/msn.C
don't rename contact to friendyname if already existing
(hack, should _fix_ it)


Index: msn.C
===================================================================
RCS file: /cvsroot/ayttm/ayttm/modules/msn2/msn.C,v
retrieving revision 1.50
retrieving revision 1.51
diff -u -r1.50 -r1.51
--- msn.C       28 Jan 2003 11:01:50 -0000      1.50
+++ msn.C       28 Jan 2003 13:08:38 -0000      1.51
@@ -1601,7 +1601,8 @@
     ea = find_account_by_handle(buddy, SERVICE_INFO.protocol_id);
     if (ea) {
         mad = (eb_msn_account_data *)ea->protocol_account_data;
-       if (!strcmp(buddy, ea->account_contact->nick)) {        
+       if (!strcmp(buddy, ea->account_contact->nick)
+          && !find_contact_by_nick(tmp)) {     
           rename_contact(ea->account_contact, tmp);    
        }
     } else {





reply via email to

[Prev in Thread] Current Thread [Next in Thread]