Changeset 3498 for branches/protocol_plugin_1_3_0
- Timestamp:
- 05/07/03 11:16:02 (6 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
branches/protocol_plugin_1_3_0/licq/src/icqd-srv.cpp
r3482 r3498 1269 1269 return 0; 1270 1270 } 1271 ICQOwner *o = gUserManager.FetchOwner(L OCK_R);1272 if (o-> Uin() == 0)1271 ICQOwner *o = gUserManager.FetchOwner(LICQ_PPID, LOCK_R); 1272 if (o->IdString() == 0) 1273 1273 { 1274 1274 gUserManager.DropOwner(); … … 1282 1282 return 0; 1283 1283 } 1284 char szUin[13];1285 snprintf(szUin, 12, "%ld", o->Uin());1286 szUin[12] = 0;1287 1284 char *passwd = strdup(o->Password()); 1285 char *user = strdup(o->IdString()); 1288 1286 unsigned long status = o->AddStatusFlags(logonStatus); 1289 1287 gUserManager.DropOwner(); 1290 CPU_Logon *p = new CPU_Logon(passwd, szUin, status);1288 CPU_Logon *p = new CPU_Logon(passwd, user, status); 1291 1289 free(passwd); 1290 free(user); 1292 1291 m_bOnlineNotifies = false; 1293 1292 gLog.Info("%sRequesting logon (#%ld)...\n", L_SRVxSTR, p->Sequence());
