Eluna fix left out TC logs

This commit is contained in:
Rochet2
2014-04-19 15:56:11 +03:00
committed by Foereaper
parent 924997603f
commit be80650625

View File

@@ -21,7 +21,7 @@ bool StartEluna()
#ifndef ELUNA #ifndef ELUNA
#ifndef MANGOS #ifndef MANGOS
{ {
TC_LOG_ERROR("eluna", "[Eluna]: LuaEngine is Disabled. (If you want to use it please enable in cmake)"); ELUNA_LOG_ERROR("[Eluna]: LuaEngine is Disabled. (If you want to use it please enable in cmake)");
return false; return false;
} }
#endif #endif
@@ -63,7 +63,7 @@ bool StartEluna()
// Check config file for eluna is enabled or disabled // Check config file for eluna is enabled or disabled
if (!sWorld->getConfig(CONFIG_BOOL_ELUNA_ENABLED)) if (!sWorld->getConfig(CONFIG_BOOL_ELUNA_ENABLED))
{ {
TC_LOG_ERROR("eluna", "[Eluna]: LuaEngine is Disabled. (If you want to use it please set config in 'mangosd.conf')"); ELUNA_LOG_ERROR("[Eluna]: LuaEngine is Disabled. (If you want to use it please set config in 'mangosd.conf')");
return false; return false;
} }
#endif #endif