diff options
author | Nicolas "Pixel" Noble <pixel@nobis-crew.org> | 2014-08-10 19:00:33 -0700 |
---|---|---|
committer | Nicolas "Pixel" Noble <pixel@nobis-crew.org> | 2014-08-10 19:00:33 -0700 |
commit | d6fe842fdb0972ffe228022c5705b1b167e68467 (patch) | |
tree | 871156087a42fb7cfb5bea8a9ac5a36bf5103b9f /src/BLua.cc | |
parent | 2e5344109da2abc59a7882521ea8378ca01c174c (diff) |
Few more tweaks, and adding a bunch of accessors to LuaHandle.
Diffstat (limited to 'src/BLua.cc')
-rw-r--r-- | src/BLua.cc | 2 |
1 files changed, 1 insertions, 1 deletions
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<Handle> h(L.recast<Balau::Handle>()); - if (h.isA<Buffer>()) { + if (!h->canEAgainOnWrite()) { L.dumpvars(h, prefix); } else { IO<Handle> s(new Buffer()); |