Fixed OnClientConnect blocking not actually functioning (bug 5461, r=psychonic).
Fixed OnClientConnect blocking not actually functioning (
bug 5461, r=psychonic).
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