diff --git a/+bot/+internal/cache.m b/+bot/+internal/cache.m index aa966103..3f388b0a 100644 --- a/+bot/+internal/cache.m +++ b/+bot/+internal/cache.m @@ -501,7 +501,7 @@ function resetCache(mode) end % - Store the selected cache directory to preferences - prefs = bot.getPreferences(); + prefs = bot.util.getPreferences(); prefs.CacheDirectory = strCacheDir; end diff --git a/+bot/+internal/reset.m b/+bot/+internal/reset.m index 0c9c8ef7..bb7dfe91 100644 --- a/+bot/+internal/reset.m +++ b/+bot/+internal/reset.m @@ -4,6 +4,6 @@ function reset(mode) mode (1,1) string = "ask" % "ask" || "force" end bot.internal.cache.resetCache(mode) - prefs = bot.getPreferences(); + prefs = bot.util.getPreferences(); prefs.reset() end \ No newline at end of file