graph: do not show any warnings on analyzed maps (ref #726)

ctr: revert cvars to it's config value instead of hardcoded values (resolves #722)
This commit is contained in:
jeefo 2025-08-14 19:35:26 +03:00
commit 784ad5e303
No known key found for this signature in database
GPG key ID: D696786B81B667C8
8 changed files with 77 additions and 41 deletions

View file

@ -636,7 +636,7 @@ int BotControl::cmdNodeErase () {
// prevent accidents when graph are deleted unintentionally
if (arg <StringRef> (iamsure) == "iamsure") {
bstor.unlinkFromDisk (false);
bstor.unlinkFromDisk (false, false);
}
else {
msg ("Please, append \"iamsure\" as parameter to get graph erased from the disk.");
@ -647,7 +647,7 @@ int BotControl::cmdNodeErase () {
int BotControl::cmdNodeEraseTraining () {
enum args { graph_cmd = 1, cmd };
bstor.unlinkFromDisk (true);
bstor.unlinkFromDisk (true, false);
return BotCommandResult::Handled;
}