Fixed OnClientConnect blocking not actually functioning (bug 5461, r=psychonic).
authorAnthony Iacono <anthonyiacono@gmail.com>
Sun Aug 26 23:33:04 2012 -0400 (2012-08-26)
changeset 36322fe3c4c0eb76
parent 3631 0a420925da0b
child 3633 52454248c90d
Fixed OnClientConnect blocking not actually functioning (bug 5461, r=psychonic).
core/PlayerManager.cpp
     1.1 --- a/core/PlayerManager.cpp	Sun Aug 26 22:51:14 2012 -0400
     1.2 +++ b/core/PlayerManager.cpp	Sun Aug 26 23:33:04 2012 -0400
     1.3 @@ -476,7 +476,7 @@
     1.4  		pListener = (*iter);
     1.5  		if (!pListener->InterceptClientConnect(client, reject, maxrejectlen))
     1.6  		{
     1.7 -			return false;
     1.8 +			RETURN_META_VALUE(MRES_SUPERCEDE, false);
     1.9  		}
    1.10  	}
    1.11