Skip to content

Commit

Permalink
Typo fix in compat code from commit 1d8d010
Browse files Browse the repository at this point in the history
  • Loading branch information
nerzhul committed Aug 17, 2017
1 parent b204bc4 commit 8432efa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/network/serverpackethandler.cpp
Expand Up @@ -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") &&
Expand Down

0 comments on commit 8432efa

Please sign in to comment.