~swag/armagetronad/0.2.9-sty+ct+ap-fork

« back to all changes in this revision

Viewing changes to src/engine/ePlayer.cpp

  • Committer: Daniel Lee Harple
  • Date: 2011-07-13 04:38:22 UTC
  • mto: (563.48.4 armagetronad)
  • mto: This revision was merged to the branch mainline in revision 731.
  • Revision ID: leeharple@gmail.com-20110713043822-325s816z3yxzsbur
Only require one authenticated user to be in the set to be whitelisted as enemies from the same IP.

Show diffs side-by-side

added added

removed removed

Lines of Context:
8602
8602
    {
8603
8603
        return(
8604
8604
            HasEntry( ip_addresses_whitelist_, a->GetMachine().GetIP() ) ||
8605
 
            ( HasEntry( usernames_whitelist_, a->GetLogName() ) && HasEntry( usernames_whitelist_, b->GetLogName() ) )
 
8605
            HasEntry( usernames_whitelist_, a->GetLogName() ) ||
 
8606
            HasEntry( usernames_whitelist_, b->GetLogName() )
8606
8607
        );
8607
8608
    }
8608
8609