diff web/src/luan/modules/web/HttpLuan.java @ 173:58c6ca5d4524

fix build.sh git-svn-id: https://luan-java.googlecode.com/svn/trunk@174 21e917c8-12df-6dd8-5cb6-c86387c605b9
author fschmidt@gmail.com <fschmidt@gmail.com@21e917c8-12df-6dd8-5cb6-c86387c605b9>
date Sun, 22 Jun 2014 07:46:49 +0000
parents 7c792a328a83
children bdbd4740121f
line wrap: on
line diff
--- a/web/src/luan/modules/web/HttpLuan.java	Sun Jun 22 06:12:29 2014 +0000
+++ b/web/src/luan/modules/web/HttpLuan.java	Sun Jun 22 07:46:49 2014 +0000
@@ -63,9 +63,9 @@
 			}
 		}
 
-		LuanTable module = (LuanTable)luan.loaded().get("Http");
+		LuanTable module = (LuanTable)luan.loaded().get("web.Http");
 		if( module == null )
-			throw luan.exception( "module 'Http' not defined" );
+			throw luan.exception( "module 'web.Http' not defined" );
 		HttpLuan lib = new HttpLuan(request,response);
 		try {
 			module.put( "request", lib.requestTable() );