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.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/plugins/MirLua/src/m_message.cpp b/plugins/MirLua/src/m_message.cpp
index 3d0848d523..0db063f684 100644
--- a/plugins/MirLua/src/m_message.cpp
+++ b/plugins/MirLua/src/m_message.cpp
@@ -117,7 +117,6 @@ static int lua_OnMsgWindowEvent(lua_State *L)
HANDLE res = ::HookEventObjParam(ME_MSG_WINDOWEVENT, MsgWindowEventHookEventObjParam, L, ref);
lua_pushlightuserdata(L, res);
- CMLua::Hooks.insert(res);
CMLua::HookRefs.insert(new HandleRefParam(L, res, ref));
return 1;