Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jul 28, 2006, 2:04:40 PM (18 years ago)
Author:
patrick
Message:

nick name handling

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/proxy/src/lib/network/network_stream.cc

    r9553 r9564  
    659659                ProxyControl::getInstance()->signalNewClient( it->second.userId);
    660660
    661 
    662 //                 this->handleNewClient( it->second.userId );
    663 
    664 //                 if ( PlayerStats::getStats( it->second.userId ) && it->second.handshake->getPreferedNickName() != "" )
    665 //                 {
    666 //                   PlayerStats::getStats( it->second.userId )->setNickName( it->second.handshake->getPreferedNickName() );
    667 //                 }
     661#warning dont know if this works: nick name handling
     662                if ( PlayerStats::getStats( it->second.userId ) && it->second.handshake->getPreferedNickName() != "" )
     663                {
     664                  PlayerStats::getStats( it->second.userId )->setNickName( it->second.handshake->getPreferedNickName() );
     665                }
    668666              }
    669667
Note: See TracChangeset for help on using the changeset viewer.