summaryrefslogtreecommitdiff
path: root/plugins/MirLua/src/mlua_metatable.h
diff options
context:
space:
mode:
authoraunsane <aunsane@gmail.com>2017-09-02 17:14:46 +0300
committeraunsane <aunsane@gmail.com>2017-09-02 17:28:15 +0300
commit68a501d70e6006464aae627326eda297ebb728eb (patch)
treea6eac3a46db867f43175f6e01ac16aa3c5960bc0 /plugins/MirLua/src/mlua_metatable.h
parentd8b2d58e284e2d77354ab99913901b31ee5d2eeb (diff)
MirLua: m_protocols:
- added ability to iterate accounts by protocol name - PROTOCOLDESCRIPTOR is now a valid parameter for CallService and Accounts methods - CallService and Accounts added to PROTOCOLDESCRIPTOR metatable methods
Diffstat (limited to 'plugins/MirLua/src/mlua_metatable.h')
-rw-r--r--plugins/MirLua/src/mlua_metatable.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/MirLua/src/mlua_metatable.h b/plugins/MirLua/src/mlua_metatable.h
index 103c8b95d1..b918971077 100644
--- a/plugins/MirLua/src/mlua_metatable.h
+++ b/plugins/MirLua/src/mlua_metatable.h
@@ -169,6 +169,7 @@ private:
return 1;
}
+
static int lua__gc(lua_State *L)
{
T **obj = (T**)luaL_checkudata(L, 1, MT::name);