Typo fix in compat code from commit 1d8d01074f

master
Loic Blot 2017-08-17 19:15:12 +02:00
parent b204bc4da9
commit 8432efa308
No known key found for this signature in database
GPG Key ID: EFAA458E8C153987
1 changed files with 1 additions and 1 deletions

View File

@ -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") &&