changeset 1432:d7644b21b128

minor
author Franklin Schmidt <fschmidt@gmail.com>
date Fri, 20 Dec 2019 23:24:50 -0700
parents f3a417074cea
children 5f038be65271
files src/luan/Luan.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/luan/Luan.java	Sun Dec 01 18:41:51 2019 -0700
+++ b/src/luan/Luan.java	Fri Dec 20 23:24:50 2019 -0700
@@ -333,7 +333,7 @@
 	private static void check(Luan luan,int i,String op,Object... args) throws LuanException {
 		Security s = (Security)luan.registry().get(SECURITY_KEY);
 		if( s!=null )
-			s.check(luan,luan.peek(),op,args);
+			s.check(luan,luan.peek(i),op,args);
 	}
 
 	public static Security setSecurity(Luan luan,Security s) {