-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

if you delete yourself (the owner) from the contact list chaos will rule 
your licq

- -- 
Buenos Aires, Argentina
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE810orUMlRieHkprgRAjDNAJ9l0wbagF+iJryNO9Yql+FY57laQwCbBqEk
gutKluJ07pxRe8FVmmUCT4M=
=068t
-----END PGP SIGNATURE-----
Index: src/icqd.cpp
===================================================================
RCS file: /cvsroot/licq/licq/src/icqd.cpp,v
retrieving revision 1.33
diff -u -1 -b -p -r1.33 icqd.cpp
--- src/icqd.cpp	6 May 2002 01:51:26 -0000	1.33
+++ src/icqd.cpp	7 May 2002 03:22:04 -0000
@@ -837,2 +837,10 @@ void CICQDaemon::RemoveUserFromList(unsi
 {
+  unsigned long __nUin;
+  
+  ICQOwner *o = gUserManager.FetchOwner(LOCK_R);
+   __nUin = o->Uin();
+   gUserManager.DropOwner();
+   if( __nUin == _nUin )
+   	return;
+
   gUserManager.RemoveUser(_nUin);
Index: src/user.cpp
===================================================================
RCS file: /cvsroot/licq/licq/src/user.cpp,v
retrieving revision 1.37
diff -u -1 -b -p -r1.37 user.cpp
--- src/user.cpp	6 May 2002 01:51:26 -0000	1.37
+++ src/user.cpp	7 May 2002 03:22:07 -0000
@@ -245,2 +245,8 @@ void CUserManager::RemoveUser(unsigned l
 {
+  ICQOwner *o = gUserManager.FetchOwner(LOCK_R);
+  unsigned long __nUin = o->Uin();
+  gUserManager.DropOwner();
+  if( __nUin == _nUin )
+  	return;
+
   ICQUser *u = FetchUser(_nUin, LOCK_W);

Reply via email to