mirror of
https://github.com/Qortal/qortal.git
synced 2025-07-23 04:36:50 +00:00
Force archiveEnabled to false if we're in top only mode.
Most of the code handles this case anyway, but it's an easy place for bugs to be created. So it's safest to enforce it at the settings level.
This commit is contained in:
@@ -616,6 +616,9 @@ public class Settings {
|
||||
|
||||
|
||||
public boolean isArchiveEnabled() {
|
||||
if (this.topOnly) {
|
||||
return false;
|
||||
}
|
||||
return this.archiveEnabled;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user