~armagetronad-dev/armagetronad/trunk-armagetronad-work

« back to all changes in this revision

Viewing changes to src/engine/ePlayer.cpp

  • Committer: z-man
  • Date: 2012-02-06 10:21:43 UTC
  • Revision ID: svn-v3-list-QlpoOTFBWSZTWZvbKhsAAAdRgAAQABK6798QIABURMgAAaeoNT1TxT1DQbKaeobXKiyAmlWT7Y5MkdJOtXDtB7w7DOGFBHiOBxaUIu7HQyyQSvxdyRThQkJvbKhs:7d95bf1e-0414-0410-9756-b78462a59f44:armagetronad%2Fbranches%2F0.4%2Farmagetronad:10360
Merging branch 0.2.8 from revision 10351 to 10359:
 ------------------------------------------------------------------------
 r10357 | bazaaarmagetron | 2012-02-04 18:45:49 +0100 (Sat, 04 Feb 2012) | 4 lines
 
 author: Manuel Moos
 Changing 'local user not found' error message so maybe we don't get so
 many noobs ask how to log in on the forums.
 
 ------------------------------------------------------------------------
 r10356 | bazaaarmagetron | 2012-01-31 11:54:35 +0100 (Tue, 31 Jan 2012) | 2 lines
 
 Manuel Moos: Added missing language strings.
 
 ------------------------------------------------------------------------
 r10353 | bazaaarmagetron | 2012-01-26 18:10:10 +0100 (Thu, 26 Jan 2012) | 1 line
 
 Manuel Moos: Silenced players can't rename or start polls to annoy.
 ------------------------------------------------------------------------

Show diffs side-by-side

added added

removed removed

Lines of Context:
9370
9370
        con << message;
9371
9371
        return false;
9372
9372
    }
 
9373
    // don't let the player rename if s/he is silenced.
 
9374
    if ( this->IsSilenced() )
 
9375
    {
 
9376
        tOutput message("$player_rename_silenced");
 
9377
        sn_ConsoleOut( message, Owner() );
 
9378
        return false;
 
9379
    }
9373
9380
    // disallow name changes if there was a kick vote recently
9374
9381
    if ( !( !bool(this->voter_) || voter_->AllowNameChange() || nameFromServer_.Len() <= 1 ) && nameFromServer_ != nameFromClient_ )
9375
9382
    {