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

Don't ask to register a new user if we have an aim username in the config file

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/protocol_plugin_1_3_0/qt-gui/src/mainwin.cpp

    r3490 r3499  
    635635 
    636636   // verify we exist 
    637    if (gUserManager.OwnerUin() == 0) 
     637   ICQOwner *owner = gUserManager.FetchOwner(LICQ_PPID, LOCK_R); 
     638   bool bRegister = (owner->IdString() == NULL); 
     639   gUserManager.DropOwner(LICQ_PPID); 
     640 
     641   if (bRegister) 
    638642     slot_register(); 
    639643   else