Show
Ignore:
Timestamp:
05/07/03 11:16:02 (6 years ago)
Author:
emostar
Message:

Licq can now log in as an AIM client. Just edit the owner.Licq file and put your AIM user name as the UIN and change the login server to login.oscar.aol.com

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/protocol_plugin_1_3_0/licq/src/icqd-srv.cpp

    r3482 r3498  
    12691269    return 0; 
    12701270  } 
    1271   ICQOwner *o = gUserManager.FetchOwner(LOCK_R); 
    1272   if (o->Uin() == 0) 
     1271  ICQOwner *o = gUserManager.FetchOwner(LICQ_PPID, LOCK_R); 
     1272  if (o->IdString() == 0) 
    12731273  { 
    12741274    gUserManager.DropOwner(); 
     
    12821282    return 0; 
    12831283  } 
    1284   char szUin[13]; 
    1285   snprintf(szUin, 12, "%ld", o->Uin()); 
    1286   szUin[12] = 0; 
    12871284  char *passwd = strdup(o->Password()); 
     1285  char *user = strdup(o->IdString()); 
    12881286  unsigned long status = o->AddStatusFlags(logonStatus); 
    12891287  gUserManager.DropOwner(); 
    1290   CPU_Logon *p = new CPU_Logon(passwd, szUin, status); 
     1288  CPU_Logon *p = new CPU_Logon(passwd, user, status); 
    12911289  free(passwd); 
     1290  free(user); 
    12921291  m_bOnlineNotifies = false; 
    12931292  gLog.Info("%sRequesting logon (#%ld)...\n", L_SRVxSTR, p->Sequence());