diff web/src/luan/modules/web/HttpServicer.java @ 443:bf5e62a9090c

remove toBoolean() and to_boolean()
author Franklin Schmidt <fschmidt@gmail.com>
date Mon, 04 May 2015 14:55:51 -0600
parents 52a6295e92c9
children b8ddd55c9b11
line wrap: on
line diff
--- a/web/src/luan/modules/web/HttpServicer.java	Mon May 04 13:49:12 2015 -0600
+++ b/web/src/luan/modules/web/HttpServicer.java	Mon May 04 14:55:51 2015 -0600
@@ -54,7 +54,7 @@
 			if( !(mod instanceof LuanTable) )
 				throw luan.exception( "module '"+modName+"' must return a table" );
 			LuanTable tbl = (LuanTable)mod;
-			if( Luan.toBoolean( tbl.get(luan,"per_session") ) ) {
+			if( Boolean.TRUE.equals(tbl.get(luan,"per_session")) ) {
 				HttpSession session = request.getSession();
 				LuanState sessionLuan  = (LuanState)session.getValue("luan");
 				if( sessionLuan!=null ) {