summaryrefslogtreecommitdiff
path: root/plugins/MirLua/src/m_chat.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_chat.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_chat.cpp')
-rw-r--r--plugins/MirLua/src/m_chat.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/MirLua/src/m_chat.cpp b/plugins/MirLua/src/m_chat.cpp
index 57a37ae7bd..5874db12bd 100644
--- a/plugins/MirLua/src/m_chat.cpp
+++ b/plugins/MirLua/src/m_chat.cpp
@@ -136,7 +136,7 @@ static int gce__index(lua_State *L)
static const luaL_Reg gceMeta[] =
{
- { "__init", gce__init },
+ { MT_GCEVENT, gce__init },
{ "__index", gce__index },
{ NULL, NULL }
};