aboutsummaryrefslogtreecommitdiffstats
path: root/net/licq-devel/files/patch-ac
blob: a9b84b2ec4eb30f986906b64909823421043b35d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
--- src/icq.cpp Mon Jul 13 20:53:45 1998
+++ src/icq.cpp Wed Aug  5 18:02:39 1998
@@ -338,7 +338,13 @@
    case ICQ_CMD_PING: if (!gotAck) emit doneOwnerFcn(false, cmd); break;
    case ICQ_CMD_ADDUSER: if (!gotAck) emit doneOwnerFcn(false, cmd); break;
    case ICQ_CMD_AUTHORIZE: emit doneOwnerFcn(false, cmd); break;
-   case ICQ_CMD_LOGON: if (!gotAck) emit doneOwnerFcn(false, cmd); break;
+   case ICQ_CMD_LOGON: 
+      if (!gotAck) 
+      {
+         emit doneOwnerFcn(false, cmd);
+         logoff(false); 
+      }
+      break;
    case ICQ_CMD_USERLIST: if (!gotAck) emit doneOwnerFcn(false, cmd); break;
    case ICQ_CMD_REQ_SYSMESG: if (!gotAck) emit doneOwnerFcn(false, cmd); break;
    case ICQ_CMD_END_SM_ACK: if (!gotAck) emit doneOwnerFcn(false, cmd); break;