summaryrefslogtreecommitdiffstats
path: root/src/Bindings/PluginLua.cpp
diff options
context:
space:
mode:
authorTycho <work.tycho+git@gmail.com>2014-04-27 21:37:08 +0200
committerTycho <work.tycho+git@gmail.com>2014-04-27 21:37:08 +0200
commitee354a405ba01a18ef85a8adae08c585cf2f13e7 (patch)
tree5620b9cc45fd968fc00a378b71a7c9cc6ca05ce3 /src/Bindings/PluginLua.cpp
parentMerge pull request #864 from mc-server/Stat (diff)
downloadcuberite-ee354a405ba01a18ef85a8adae08c585cf2f13e7.tar
cuberite-ee354a405ba01a18ef85a8adae08c585cf2f13e7.tar.gz
cuberite-ee354a405ba01a18ef85a8adae08c585cf2f13e7.tar.bz2
cuberite-ee354a405ba01a18ef85a8adae08c585cf2f13e7.tar.lz
cuberite-ee354a405ba01a18ef85a8adae08c585cf2f13e7.tar.xz
cuberite-ee354a405ba01a18ef85a8adae08c585cf2f13e7.tar.zst
cuberite-ee354a405ba01a18ef85a8adae08c585cf2f13e7.zip
Diffstat (limited to '')
-rw-r--r--src/Bindings/PluginLua.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Bindings/PluginLua.cpp b/src/Bindings/PluginLua.cpp
index dcc816839..cb55715a6 100644
--- a/src/Bindings/PluginLua.cpp
+++ b/src/Bindings/PluginLua.cpp
@@ -1042,7 +1042,7 @@ bool cPluginLua::OnPluginMessage(cClientHandle & a_Client, const AString & a_Cha
cLuaRefs & Refs = m_HookMap[cPluginManager::HOOK_PLUGIN_MESSAGE];
for (cLuaRefs::iterator itr = Refs.begin(), end = Refs.end(); itr != end; ++itr)
{
- m_LuaState.Call((int)(**itr), &a_Client, a_Channel, a_Message);
+ m_LuaState.Call((int)(**itr), &a_Client, a_Channel, a_Message, cLuaState::Return, res);
if (res)
{
return true;