Fixed OnClientConnect blocking not actually functioning (bug 5461, r=psychonic).

This commit is contained in:
Anthony Iacono 2012-08-26 23:33:04 -04:00
parent 94f0fc58cc
commit a634da2c0a

View File

@ -476,7 +476,7 @@ bool PlayerManager::OnClientConnect(edict_t *pEntity, const char *pszName, const
pListener = (*iter); pListener = (*iter);
if (!pListener->InterceptClientConnect(client, reject, maxrejectlen)) if (!pListener->InterceptClientConnect(client, reject, maxrejectlen))
{ {
return false; RETURN_META_VALUE(MRES_SUPERCEDE, false);
} }
} }