forked from Mirrorlandia_minetest/minetest
Typo fix in compat code from commit 1d8d01074fdb52946f81110bebf1d001185b394b
This commit is contained in:
parent
151c19a6be
commit
12562be393
@ -520,7 +520,7 @@ void Server::handleCommand_Init_Legacy(NetworkPacket* pkt)
|
|||||||
|
|
||||||
// Enforce user limit.
|
// Enforce user limit.
|
||||||
// Don't enforce for users that have some admin right
|
// Don't enforce for users that have some admin right
|
||||||
if (m_clients.isUserLimitReached() >= g_settings->getU16("max_users") &&
|
if (m_clients.isUserLimitReached() &&
|
||||||
!checkPriv(playername, "server") &&
|
!checkPriv(playername, "server") &&
|
||||||
!checkPriv(playername, "ban") &&
|
!checkPriv(playername, "ban") &&
|
||||||
!checkPriv(playername, "privs") &&
|
!checkPriv(playername, "privs") &&
|
||||||
|
Loading…
Reference in New Issue
Block a user