summaryrefslogtreecommitdiff
path: root/plugins/MirLua/src/m_protocols.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/MirLua/src/m_protocols.cpp')
-rw-r--r--plugins/MirLua/src/m_protocols.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/MirLua/src/m_protocols.cpp b/plugins/MirLua/src/m_protocols.cpp
index 9aa4b4f753..28c6f19ddc 100644
--- a/plugins/MirLua/src/m_protocols.cpp
+++ b/plugins/MirLua/src/m_protocols.cpp
@@ -36,7 +36,7 @@ static int lua_ProtoIterator(lua_State *L)
{
lua_pushinteger(L, (i + 1));
lua_replace(L, lua_upvalueindex(1));
- MapToTable(L, protos[i]);
+ lua_pushlightuserdata(L, protos[i]);
}
else
lua_pushnil(L);
@@ -138,7 +138,7 @@ static int lua_AccountIterator(lua_State *L)
{
lua_pushinteger(L, (i + 1));
lua_replace(L, lua_upvalueindex(1));
- MapToTable(L, accounts[i]);
+ lua_pushlightuserdata(L, accounts[i]);
}
else
lua_pushnil(L);