summaryrefslogtreecommitdiffstats
path: root/source/ManualBindings.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--source/ManualBindings.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/source/ManualBindings.cpp b/source/ManualBindings.cpp
index f25a56aa2..5133d03c7 100644
--- a/source/ManualBindings.cpp
+++ b/source/ManualBindings.cpp
@@ -607,7 +607,10 @@ static int tolua_cPlugin_NewLua_AddWebTab(lua_State* tolua_S)
static int tolua_cPlugin_NewLua_AddTab(lua_State* tolua_S)
{
- LOGWARN("WARNING: Using deprecated function AddTab()! Use AddWebTab() instead.");
+ cPlugin_NewLua * self = (cPlugin_NewLua *) tolua_tousertype(tolua_S, 1, 0);
+ LOGWARN("WARNING: Using deprecated function AddTab()! Use AddWebTab() instead. (plugin \"%s\" in folder \"%s\")",
+ self->GetName().c_str(), self->GetDirectory().c_str()
+ );
return tolua_cPlugin_NewLua_AddWebTab( tolua_S );
}