Logging Bug

- added data check when configuring logging.
- removed workshop interval expiry options.
- removed RCON password from logs.
This commit is contained in:
Brett Hewitson 2022-07-25 09:39:30 +10:00
parent 99cdcd6375
commit 96ba2c3474
23 changed files with 103 additions and 101 deletions

View file

@ -169,11 +169,6 @@ namespace ServerManagerTool
if (loadFromCacheFile)
{
steamCache = localCache;
// check if the cache is old
if (localCache != null && Config.Default.WorkshopCache_ExpiredHours > 0 && localCache.cached.AddHours(Config.Default.WorkshopCache_ExpiredHours) < DateTime.UtcNow)
// cache is considered old, clear cache variable so it will reload from internet
steamCache = null;
}
// check if the cache exists