BUGFIX: check parameters for minetest.log lua function