mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-19 17:05:44 +01:00
Core/Misc: always output client cache version on loading
This commit is contained in:
@@ -1136,13 +1136,11 @@ void World::LoadConfigSettings(bool reload)
|
||||
{
|
||||
// overwrite DB/old value
|
||||
if (clientCacheId > 0)
|
||||
{
|
||||
m_int_configs[CONFIG_CLIENTCACHE_VERSION] = clientCacheId;
|
||||
TC_LOG_INFO("server.loading", "Client cache version set to: %u", clientCacheId);
|
||||
}
|
||||
else
|
||||
TC_LOG_ERROR("server.loading", "ClientCacheVersion can't be negative %d, ignored.", clientCacheId);
|
||||
}
|
||||
TC_LOG_INFO("server.loading", "Client cache version set to: %u", m_int_configs[CONFIG_CLIENTCACHE_VERSION]);
|
||||
|
||||
m_int_configs[CONFIG_GUILD_NEWS_LOG_COUNT] = sConfigMgr->GetIntDefault("Guild.NewsLogRecordsCount", GUILD_NEWSLOG_MAX_RECORDS);
|
||||
if (m_int_configs[CONFIG_GUILD_NEWS_LOG_COUNT] > GUILD_NEWSLOG_MAX_RECORDS)
|
||||
|
||||
Reference in New Issue
Block a user