Skip to content
Permalink
Browse files

Typo fix in compat code from commit 1d8d010

  • Loading branch information...
nerzhul committed Aug 17, 2017
1 parent b204bc4 commit 8432efa308e0d6c56ad61df189981ed03b0af463
Showing with 1 addition and 1 deletion.
  1. +1 −1 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") &&

0 comments on commit 8432efa

Please sign in to comment.
You can’t perform that action at this time.