Core/Misc: always output client cache version on loading
This commit is contained in:
1 parent
66e856fc50
commit
d93be13e6e
1 file changed
+1
-3
@@ -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