Mercurial Hosting > luan
diff core/src/luan/modules/RpcLuan.java @ 742:5578541125ea
add Hosting.caller()
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Tue, 12 Jul 2016 17:47:30 -0600 |
parents | b620b8e1010f |
children | 4b8695f1cfc4 |
line wrap: on
line diff
--- a/core/src/luan/modules/RpcLuan.java Mon Jul 11 03:56:18 2016 -0600 +++ b/core/src/luan/modules/RpcLuan.java Tue Jul 12 17:47:30 2016 -0600 @@ -73,7 +73,7 @@ for( int i=0; i<nArgs; i++ ) { args[i] = readObj(in,luan); } - LuanFunction fn = (LuanFunction)fns.rawGet(fnName); + LuanFunction fn = (LuanFunction)fns.get(luan,fnName); if( fn == null ) throw new LuanException( "function not found: " + fnName ); rtn = Luan.array(fn.call(luan,args));