summaryrefslogtreecommitdiff
path: root/plugins/MirLua
diff options
context:
space:
mode:
authorAlexander Lantsev <aunsane@gmail.com>2015-10-29 19:24:07 +0000
committerAlexander Lantsev <aunsane@gmail.com>2015-10-29 19:24:07 +0000
commit1f41b628e19c00efa1a168a0f5a5ae71bd93b09b (patch)
treec05c1c8ddfdfc1f613a28da6b5cac559385a20dc /plugins/MirLua
parentf9526af6e2236193cbd5bbab7af5d8e386c2233e (diff)
MirLua: fix PROTOACCOUNT metatable
git-svn-id: http://svn.miranda-ng.org/main/trunk@15650 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/MirLua')
-rw-r--r--plugins/MirLua/src/m_protocols.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/MirLua/src/m_protocols.cpp b/plugins/MirLua/src/m_protocols.cpp
index 28c6f19ddc..d814a40a1b 100644
--- a/plugins/MirLua/src/m_protocols.cpp
+++ b/plugins/MirLua/src/m_protocols.cpp
@@ -380,7 +380,7 @@ static int pa__init(lua_State *L)
PROTOACCOUNT **pa = (PROTOACCOUNT**)lua_newuserdata(L, sizeof(PROTOACCOUNT*));
*pa = udata;
- luaL_setmetatable(L, MT_PROTOCOLDESCRIPTOR);
+ luaL_setmetatable(L, MT_PROTOACCOUNT);
return 1;
}