From f155980e50b5670593eb0857a061d16f708a362f Mon Sep 17 00:00:00 2001 From: Alexander Lantsev Date: Wed, 25 Nov 2015 18:17:36 +0000 Subject: MirLua: removed needless stuff git-svn-id: http://svn.miranda-ng.org/main/trunk@15778 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/MirLua/src/m_toptoolbar.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'plugins/MirLua/src/m_toptoolbar.cpp') 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; -- cgit v1.2.3