summaryrefslogtreecommitdiff
path: root/plugins/MirLua/src/m_protocols.cpp
diff options
context:
space:
mode:
authorAlexander Lantsev <aunsane@gmail.com>2015-11-07 18:42:19 +0000
committerAlexander Lantsev <aunsane@gmail.com>2015-11-07 18:42:19 +0000
commite29fd4d0ead4353ff2e03fcd793400d8e0779481 (patch)
treede0d47e86f816ea6cfca63ab8b394c09daf0725a /plugins/MirLua/src/m_protocols.cpp
parenta50edcaccf9c335a8b4fd6dc144916f3aed9ca8f (diff)
MirLua: added metatables wrapper
git-svn-id: http://svn.miranda-ng.org/main/trunk@15697 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/MirLua/src/m_protocols.cpp')
-rw-r--r--plugins/MirLua/src/m_protocols.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/MirLua/src/m_protocols.cpp b/plugins/MirLua/src/m_protocols.cpp
index 911c699e33..dc5fa97839 100644
--- a/plugins/MirLua/src/m_protocols.cpp
+++ b/plugins/MirLua/src/m_protocols.cpp
@@ -361,7 +361,7 @@ static int pd__index(lua_State *L)
static luaL_Reg pdMeta[] =
{
- { "__init", pd__init },
+ { MT_PROTOCOLDESCRIPTOR, pd__init },
{ "__index", pd__index },
{ NULL, NULL }
};
@@ -412,7 +412,7 @@ static int pa__index(lua_State *L)
static luaL_Reg paMeta[] =
{
- { "__init", pa__init },
+ { MT_PROTOACCOUNT, pa__init },
{ "__index", pa__index },
{ NULL, NULL }
};
@@ -461,7 +461,7 @@ static int ack__index(lua_State *L)
static luaL_Reg ackMeta[] =
{
- { "__init", ack__init },
+ { MT_ACKDATA, ack__init },
{ "__index", ack__index },
{ NULL, NULL }
};
@@ -505,7 +505,7 @@ static int ccs__index(lua_State *L)
static luaL_Reg ccsMeta[] =
{
- { "__init", ccs__init },
+ { MT_CCSDATA, ccs__init },
{ "__index", ccs__index },
{ NULL, NULL }
};