From: Loic Blot Date: Thu, 17 Aug 2017 17:15:12 +0000 (+0200) Subject: Typo fix in compat code from commit 1d8d01074fdb52946f81110bebf1d001185b394b X-Git-Tag: 5.0.0~941 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=8432efa308e0d6c56ad61df189981ed03b0af463;p=oweals%2Fminetest.git Typo fix in compat code from commit 1d8d01074fdb52946f81110bebf1d001185b394b --- diff --git a/src/network/serverpackethandler.cpp b/src/network/serverpackethandler.cpp index b0fb17b72..64c754ee5 100644 --- a/src/network/serverpackethandler.cpp +++ b/src/network/serverpackethandler.cpp @@ -520,7 +520,7 @@ void Server::handleCommand_Init_Legacy(NetworkPacket* pkt) // Enforce user limit. // 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, "ban") && !checkPriv(playername, "privs") &&