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 4eafdc2a1e
commit f2eccadff3

View File

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