diff options
Diffstat (limited to 'plugins/MirLua/src/m_toptoolbar.cpp')
-rw-r--r-- | plugins/MirLua/src/m_toptoolbar.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/plugins/MirLua/src/m_toptoolbar.cpp b/plugins/MirLua/src/m_toptoolbar.cpp index d850c9429b..b990dcf8e0 100644 --- a/plugins/MirLua/src/m_toptoolbar.cpp +++ b/plugins/MirLua/src/m_toptoolbar.cpp @@ -130,7 +130,6 @@ static int lua_OnTopToolBarLoaded(lua_State *L) HANDLE res = ::HookEventObjParam(ME_TTB_MODULELOADED, CMLua::HookEventObjParam, L, ref);
lua_pushlightuserdata(L, res);
- CMLua::Hooks.insert(res);
CMLua::HookRefs.insert(new HandleRefParam(L, res, ref));
return 1;
|