summaryrefslogtreecommitdiff
path: root/plugins/MirLua/src/m_message.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/MirLua/src/m_message.cpp')
-rw-r--r--plugins/MirLua/src/m_message.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/MirLua/src/m_message.cpp b/plugins/MirLua/src/m_message.cpp
index 64025eb132..63f86441ff 100644
--- a/plugins/MirLua/src/m_message.cpp
+++ b/plugins/MirLua/src/m_message.cpp
@@ -1,6 +1,6 @@
#include "stdafx.h"
-static int lua_Paste(lua_State *L)
+static int message_Paste(lua_State *L)
{
MCONTACT hContact = luaL_checkinteger(L, 1);
ptrT text(mir_utf8decodeT(luaL_checkstring(L, 2)));
@@ -24,7 +24,7 @@ static int lua_Paste(lua_State *L)
return 1;
}
-static int lua_Send(lua_State *L)
+static int message_Send(lua_State *L)
{
MCONTACT hContact = luaL_checkinteger(L, 1);
const char *message = luaL_checkstring(L, 2);
@@ -70,8 +70,8 @@ static int lua_Send(lua_State *L)
static luaL_Reg messageApi[] =
{
- { "Paste", lua_Paste },
- { "Send", lua_Send },
+ { "Paste", message_Paste },
+ { "Send", message_Send },
{ NULL, NULL }
};