Changeset 6361 for trunk/console
- Timestamp:
- 06/27/08 16:40:20 (5 months ago)
- Location:
- trunk/console/src
- Files:
-
- 2 modified
-
console.cpp (modified) (3 diffs)
-
console_menu.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/console/src/console.cpp
r6359 r6361 550 550 break; 551 551 case SIGNAL_ADDxSERVERxLIST: 552 licqDaemon->icqRenameUser(s-> Uin());552 licqDaemon->icqRenameUser(s->Id()); 553 553 break; 554 554 case SIGNAL_NEWxPROTO_PLUGIN: … … 3222 3222 u->GetAlias()); 3223 3223 gUserManager.DropUser(u); 3224 char *p; 3225 unsigned long uin = strtoul(szId, &p,10); 3226 if( (p == 0 || (p && !*p)) && nPPID == LICQ_PPID ) 3227 winMain->event = licqDaemon->icqOpenSecureChannel(uin); 3224 if (nPPID == LICQ_PPID ) 3225 winMain->event = licqDaemon->icqOpenSecureChannel(szId); 3228 3226 } 3229 3227 else if(strcasecmp(szStatus, "close") == 0) … … 3232 3230 u->GetAlias()); 3233 3231 gUserManager.DropUser(u); 3234 char *p; 3235 unsigned long uin = strtoul(szId, &p,10); 3236 if( (p == 0 || (p && !*p)) && nPPID == LICQ_PPID ) 3237 winMain->event = licqDaemon->icqCloseSecureChannel(uin); 3232 if (nPPID == LICQ_PPID ) 3233 winMain->event = licqDaemon->icqCloseSecureChannel(szId); 3238 3234 } 3239 3235 else -
trunk/console/src/console_menu.cpp
r6285 r6361 447 447 if (bAlert) 448 448 { 449 int nUin = atol(szArg); 450 licqDaemon->icqAlertUser(nUin); 451 winMain->wprintf("%C%AAlerted user %ld they were added.\n", 452 m_cColorInfo->nColor, m_cColorInfo->nAttr, 453 nUin); 449 licqDaemon->icqAlertUser(szArg, LICQ_PPID); 450 winMain->wprintf("%C%AAlerted user %s they were added.\n", 451 m_cColorInfo->nColor, m_cColorInfo->nAttr, szArg); 454 452 } 455 453
