Hi,

licq has not so cool feature:
if somebody uses our icq number somewhere else, licq goes offline right
but it tries to reconnect after for a while and steals the account back.

Included simple patch will prevent this from happening. Again I'm not
sure if it's fixed properly but at least it works. :P

If needed, the patch is available at:
http://tumppi.net/licq/icqinuse.diff

Regards,
--
# Tuomas Jaakola
Index: icqd-srv.cpp
===================================================================
RCS file: /cvsroot/licq/licq/src/icqd-srv.cpp,v
retrieving revision 1.119
diff -u -1 -b -p -r1.119 icqd-srv.cpp
--- icqd-srv.cpp        5 Nov 2003 15:35:40 -0000       1.119
+++ icqd-srv.cpp        4 Jan 2004 21:03:02 -0000
@@ -4624,2 +4624,3 @@ bool CICQDaemon::ProcessCloseChannel(CBu
     gLog.Error("%sYour ICQ number is used from another location.\n", L_ERRORxSTR);
+    m_eStatus = STATUS_OFFLINE_MANUAL; // Don't reconnect
     break;
@@ -4631,2 +4632,3 @@ bool CICQDaemon::ProcessCloseChannel(CBu
     gLog.Error("%sUnknown runtime error form server: 0x%02X.\n", L_ERRORxSTR, nError);
+    m_eStatus = STATUS_OFFLINE_FORCED;
   }
@@ -4636,3 +4638,2 @@ bool CICQDaemon::ProcessCloseChannel(CBu
     packet.cleanupTLV();
-    m_eStatus = STATUS_OFFLINE_FORCED;
     m_bLoggingOn = false;

Reply via email to