summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/BLua.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/BLua.cc b/lib/BLua.cc
index 2451998..7a85b07 100644
--- a/lib/BLua.cc
+++ b/lib/BLua.cc
@@ -276,7 +276,7 @@ int LuaStatics::dumpvars(lua_State * _L) {
if (L->isstring(2))
L->getglobal(L->tostring(2));
- h = recast<Handle>();
+ h = L->recast<Handle>();
L->dumpvars(h, prefix);