diff core/src/luan/modules/host/Hosting.luan @ 435:5b36f663a1b8

make members lower case
author Franklin Schmidt <fschmidt@gmail.com>
date Sun, 03 May 2015 21:28:49 -0600
parents e9e445e28f0b
children 92c3d22745b8
line wrap: on
line diff
--- a/core/src/luan/modules/host/Hosting.luan	Sun May 03 16:21:25 2015 -0600
+++ b/core/src/luan/modules/host/Hosting.luan	Sun May 03 21:28:49 2015 -0600
@@ -8,11 +8,11 @@
 port = 9101
 
 function push(domain,password,dir)
-	local f = Io.Uri("file:"..dir)
+	local f = Io.uri("file:"..dir)
 	f.exists() or error("directory '"..dir.."' not found")
 	f.is_directory() or error("'"..dir.."' is not a directory")
 	local socket = "socket:" .. domain .. ":" .. port
-	local pc = Io.Uri(socket).Pickle_client()
+	local pc = Io.uri(socket).pickle_client()
 	local pickle = pc.pickle
 	pc.call(%>
 		local Hosting = require "luan:host/Hosting"
@@ -23,7 +23,7 @@
 
 function delete(domain,password)
 	local socket = "socket:" .. domain .. ":" .. port
-	local pc = Io.Uri(socket).Pickle_client()
+	local pc = Io.uri(socket).pickle_client()
 	local pickle = pc.pickle
 	pc.call(%>
 		local Hosting = require "luan:host/Hosting"