summaryrefslogtreecommitdiff
path: root/plugins/MirLua/src/m_chat.cpp
diff options
context:
space:
mode:
authorMikalaiR <nikolay.romanovich@narod.ru>2016-07-01 07:43:28 +0000
committerMikalaiR <nikolay.romanovich@narod.ru>2016-07-01 07:43:28 +0000
commitdba6ba812fadfef61e7adf61ff2a65e03ed36789 (patch)
tree25c126b497d9964d1c43a2f06030f5d4612b351b /plugins/MirLua/src/m_chat.cpp
parentad5f64dcd8dc7944e85208d6ef32eb5adbb4ffe6 (diff)
MirLua: mlua_metatable rewritted
git-svn-id: http://svn.miranda-ng.org/main/trunk@17055 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/MirLua/src/m_chat.cpp')
-rw-r--r--plugins/MirLua/src/m_chat.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/MirLua/src/m_chat.cpp b/plugins/MirLua/src/m_chat.cpp
index dfe8b3c54d..dbecbc774e 100644
--- a/plugins/MirLua/src/m_chat.cpp
+++ b/plugins/MirLua/src/m_chat.cpp
@@ -5,6 +5,7 @@ static luaL_Reg chatApi[] =
{ NULL, NULL }
};
+template <>
int MT<GCEVENT>::Index(lua_State *L, GCEVENT *gce)
{
const char *key = lua_tostring(L, 2);