mirror of
				https://github.com/luanti-org/luanti.git
				synced 2025-10-30 23:15:32 +01:00 
			
		
		
		
	Typo fix in compat code from commit 1d8d01074f
				
					
				
			This commit is contained in:
		| @@ -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") && | ||||
|   | ||||
		Reference in New Issue
	
	Block a user