mirror of
				https://github.com/mt-mods/playerfactions.git
				synced 2025-10-31 00:05:40 +01:00 
			
		
		
		
	Depricate factions.get_password()
returns nil after first run
This commit is contained in:
		
							
								
								
									
										2
									
								
								init.lua
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								init.lua
									
									
									
									
									
								
							| @@ -162,6 +162,8 @@ function factions.valid_password(fname, password) | ||||
| end | ||||
|  | ||||
| function factions.get_password(fname) | ||||
| 	minetest.log("warning", "Deprecated use of factions.get_password(). " | ||||
| 		.. "Please update to using factions.valid_password() instead.") | ||||
| 	if facts[fname] == nil then | ||||
| 		return false | ||||
| 	end | ||||
|   | ||||
		Reference in New Issue
	
	Block a user