Skip to content

Commit bf67400

Browse files
committed
Fix errant calls to bot.util.getPreferences
1 parent de16322 commit bf67400

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

+bot/+internal/cache.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -501,7 +501,7 @@ function resetCache(mode)
501501
end
502502

503503
% - Store the selected cache directory to preferences
504-
prefs = bot.getPreferences();
504+
prefs = bot.util.getPreferences();
505505
prefs.CacheDirectory = strCacheDir;
506506
end
507507

+bot/+internal/reset.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@ function reset(mode)
44
mode (1,1) string = "ask" % "ask" || "force"
55
end
66
bot.internal.cache.resetCache(mode)
7-
prefs = bot.getPreferences();
7+
prefs = bot.util.getPreferences();
88
prefs.reset()
99
end

0 commit comments

Comments
 (0)