diff core/src/luan/modules/StringLuan.java @ 264:9e0d4452e649

implement URL style module names git-svn-id: https://luan-java.googlecode.com/svn/trunk@265 21e917c8-12df-6dd8-5cb6-c86387c605b9
author fschmidt@gmail.com <fschmidt@gmail.com@21e917c8-12df-6dd8-5cb6-c86387c605b9>
date Wed, 29 Oct 2014 03:50:59 +0000
parents 705d14f4d8ee
children 82a3ebcfbafa
line wrap: on
line diff
--- a/core/src/luan/modules/StringLuan.java	Wed Oct 29 00:02:14 2014 +0000
+++ b/core/src/luan/modules/StringLuan.java	Wed Oct 29 03:50:59 2014 +0000
@@ -43,7 +43,7 @@
 	}
 
 	public static Object __index(LuanState luan,final String s,Object key) throws LuanException {
-		LuanTable mod = (LuanTable)PackageLuan.loaded(luan).get("String");
+		LuanTable mod = (LuanTable)PackageLuan.loaded(luan).get("luan:String");
 		if( mod!=null ) {
 			Object obj = mod.get(key);
 			if( obj instanceof LuanFunction ) {