diff web/src/luan/modules/web/HttpLuan.java @ 202:75750ceb45ee

add LuanState.registry git-svn-id: https://luan-java.googlecode.com/svn/trunk@203 21e917c8-12df-6dd8-5cb6-c86387c605b9
author fschmidt@gmail.com <fschmidt@gmail.com@21e917c8-12df-6dd8-5cb6-c86387c605b9>
date Fri, 04 Jul 2014 17:18:39 +0000
parents 2c08e7e27a70
children a608066395c5
line wrap: on
line diff
--- a/web/src/luan/modules/web/HttpLuan.java	Thu Jul 03 22:42:44 2014 +0000
+++ b/web/src/luan/modules/web/HttpLuan.java	Fri Jul 04 17:18:39 2014 +0000
@@ -79,7 +79,7 @@
 			}
 		}
 
-		LuanTable module = (LuanTable)luan.loaded().get("web/Http");
+		LuanTable module = (LuanTable)PackageLuan.loaded(luan).get("web/Http");
 		if( module == null )
 			throw luan.exception( "module 'web/Http' not defined" );
 		HttpLuan lib = new HttpLuan(request,response);