From d7920b4bb7713c4b346b7eff16de28463fcca5eb Mon Sep 17 00:00:00 2001 From: Rochet2 Date: Thu, 23 Oct 2014 14:54:57 +0300 Subject: [PATCH] Fix loading debug messages to avoid confusion --- LuaEngine.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/LuaEngine.cpp b/LuaEngine.cpp index 333154c..b4bd96f 100644 --- a/LuaEngine.cpp +++ b/LuaEngine.cpp @@ -278,7 +278,7 @@ void Eluna::RunScripts() if (!lua_isnoneornil(L, -1)) { lua_pop(L, 1); - ELUNA_LOG_DEBUG("[Eluna]: Extension was already loaded or required `%s`", it->filepath.c_str()); + ELUNA_LOG_DEBUG("[Eluna]: `%s` was already loaded or required", it->filepath.c_str()); continue; } lua_pop(L, 1); @@ -296,7 +296,7 @@ void Eluna::RunScripts() ++count; continue; } - ELUNA_LOG_ERROR("[Eluna]: Error loading extension `%s`", it->filepath.c_str()); + ELUNA_LOG_ERROR("[Eluna]: Error loading `%s`", it->filepath.c_str()); report(L); } lua_pop(L, 2);