diff --git a/LuaEngine.cpp b/LuaEngine.cpp index 6788ad2..7a7ddff 100644 --- a/LuaEngine.cpp +++ b/LuaEngine.cpp @@ -564,7 +564,7 @@ bool Eluna::ExecuteCall(int params, int res) ASSERT(false); // stack probably corrupt } - bool usetrace = eConfigMgr->GetBoolDefault("Eluna.TraceBack", true); + bool usetrace = eConfigMgr->GetBoolDefault("Eluna.TraceBack", false); if (usetrace) { lua_pushcfunction(L, &StackTrace); diff --git a/LuaEngine.h b/LuaEngine.h index 08f1480..f106a70 100644 --- a/LuaEngine.h +++ b/LuaEngine.h @@ -159,7 +159,7 @@ private: static void AddScriptPath(std::string filename, const std::string& fullpath); static int StackTrace(lua_State *_L); - static void Eluna::Report(lua_State* _L); + static void Report(lua_State* _L); // Some helpers for hooks to call event handlers. // The bodies of the templates are in HookHelpers.h, so if you want to use them you need to #include "HookHelpers.h".