From d6fe842fdb0972ffe228022c5705b1b167e68467 Mon Sep 17 00:00:00 2001 From: "Nicolas \"Pixel\" Noble" Date: Sun, 10 Aug 2014 19:00:33 -0700 Subject: Few more tweaks, and adding a bunch of accessors to LuaHandle. --- src/BLua.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/BLua.cc') diff --git a/src/BLua.cc b/src/BLua.cc index 734f024..f70cf99 100644 --- a/src/BLua.cc +++ b/src/BLua.cc @@ -100,7 +100,7 @@ int Balau::LuaStatics::dumpvars(lua_State * __L) { IO h(L.recast()); - if (h.isA()) { + if (!h->canEAgainOnWrite()) { L.dumpvars(h, prefix); } else { IO s(new Buffer()); -- cgit v1.2.3