Fixed OnClientConnect blocking not actually functioning (bug 5461, r=psychonic).
This commit is contained in:
parent
94f0fc58cc
commit
a634da2c0a
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user