changeset 1357:70a7eb76ee2c

minor
author Franklin Schmidt <fschmidt@gmail.com>
date Thu, 18 Apr 2019 00:55:21 -0600
parents 71f067287642
children 1d31c1f3ea30
files src/luan/modules/http/Server.luan
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
diff -r 71f067287642 -r 70a7eb76ee2c src/luan/modules/http/Server.luan
--- a/src/luan/modules/http/Server.luan	Thu Apr 18 00:34:04 2019 -0600
+++ b/src/luan/modules/http/Server.luan	Thu Apr 18 00:55:21 2019 -0600
@@ -40,7 +40,7 @@
 	end
 end
 
-local function start(server)
+function Server.start(server)
 	try {
 		function()
 			LuanHandler.start(server)
@@ -74,7 +74,7 @@
 	handler = SafeHandler.new(handler)
 	handler = LogHandler.new(handler)
 	local server = JavaServer.new(port,handler)
-	start(server)
+	Server.start(server)
 	return server, luan_handler
 end
 
@@ -87,7 +87,7 @@
 	handler = ContentTypeHandler.new(handler)
 	handler = SafeHandler.new(handler)
 	local server = JavaServer.new(port,handler)
-	start(server)
+	Server.start(server)
 	return server, luan_handler
 end