Provide the clamav socket, correctly upsert file hashes
diff --git a/src/commands/settings/automod.ts b/src/commands/settings/automod.ts
index db4a1c4..d8464f0 100644
--- a/src/commands/settings/automod.ts
+++ b/src/commands/settings/automod.ts
@@ -1090,18 +1090,18 @@
break;
}
case "malware": {
- i.deferUpdate();
+ await i.deferUpdate();
config.malware = !config.malware;
break;
}
case "images": {
- i.deferUpdate();
+ await i.deferUpdate();
const next = await imageMenu(i, m, config.images);
config.images = next;
break;
}
case "clean": {
- i.deferUpdate();
+ await i.deferUpdate();
const next = await cleanMenu(i, m, config.clean);
config.clean = next;
break;