summaryrefslogtreecommitdiff
path: root/plugins/MirLua/src/m_msg_buttonsbar.cpp
diff options
context:
space:
mode:
authorAlexander Lantsev <aunsane@gmail.com>2015-11-25 18:17:36 +0000
committerAlexander Lantsev <aunsane@gmail.com>2015-11-25 18:17:36 +0000
commitf155980e50b5670593eb0857a061d16f708a362f (patch)
treedbf0c648b8db4eae88d7ce70bf3f8e7a4edf9ff9 /plugins/MirLua/src/m_msg_buttonsbar.cpp
parentb4132ae8daa7cb96ef49eca4827380c0e629a031 (diff)
MirLua: removed needless stuff
git-svn-id: http://svn.miranda-ng.org/main/trunk@15778 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/MirLua/src/m_msg_buttonsbar.cpp')
-rw-r--r--plugins/MirLua/src/m_msg_buttonsbar.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/plugins/MirLua/src/m_msg_buttonsbar.cpp b/plugins/MirLua/src/m_msg_buttonsbar.cpp
index a798c076c8..25245b7321 100644
--- a/plugins/MirLua/src/m_msg_buttonsbar.cpp
+++ b/plugins/MirLua/src/m_msg_buttonsbar.cpp
@@ -173,7 +173,6 @@ static int lua_OnMsgToolBarButtonPressed(lua_State *L)
HANDLE res = ::HookEventObjParam(ME_MSG_BUTTONPRESSED, ButtonPressedHookEventObjParam, L, ref);
lua_pushlightuserdata(L, res);
- CMLua::Hooks.insert(res);
CMLua::HookRefs.insert(new HandleRefParam(L, res, ref));
return 1;