diff options
author | Alexander Lantsev <aunsane@gmail.com> | 2015-10-21 18:29:50 +0000 |
---|---|---|
committer | Alexander Lantsev <aunsane@gmail.com> | 2015-10-21 18:29:50 +0000 |
commit | c99bbd2ef7f9fb2295ff2ec07bb690c4d7351a71 (patch) | |
tree | a760bc80000499732a80034d32bdd02cb3e9b885 /plugins/MirLua/src/m_toptoolbar.cpp | |
parent | dd4878e302ae384f7b51b9ef60ff3a06dbd11a11 (diff) |
MirLua:
- added totable to cast userdata to metatable
- all modules hooks are marked as obsolete
- version bumb
git-svn-id: http://svn.miranda-ng.org/main/trunk@15586 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/MirLua/src/m_toptoolbar.cpp')
-rw-r--r-- | plugins/MirLua/src/m_toptoolbar.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/MirLua/src/m_toptoolbar.cpp b/plugins/MirLua/src/m_toptoolbar.cpp index be1739bfcc..3d2e888ac5 100644 --- a/plugins/MirLua/src/m_toptoolbar.cpp +++ b/plugins/MirLua/src/m_toptoolbar.cpp @@ -119,6 +119,8 @@ static int lua_RemoveButton(lua_State *L) static int lua_OnTopToolBarLoaded(lua_State *L)
{
+ ObsoleteMethod(L, "Use m.HookEvent instead");
+
if (!lua_isfunction(L, 1))
{
lua_pushlightuserdata(L, NULL);
|