summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2024-06-19 19:30:24 +0100
committerSadie Powell <sadie@witchery.services>2024-06-19 19:30:24 +0100
commit4eec5c5435e78609b25082c2a1a1b343dc8839e1 (patch)
tree6d35ac912308580360044ec6ee183a6bf5a70dfa /modules
parent2667d9e90cecea080b20beb17d8b7fd0ef0d08da (diff)
Save the databases directly after importing.
Diffstat (limited to 'modules')
-rw-r--r--modules/database/db_atheme.cpp1
-rw-r--r--modules/database/db_old.cpp1
2 files changed, 2 insertions, 0 deletions
diff --git a/modules/database/db_atheme.cpp b/modules/database/db_atheme.cpp
index ee1d390c2..2d294fe32 100644
--- a/modules/database/db_atheme.cpp
+++ b/modules/database/db_atheme.cpp
@@ -1427,6 +1427,7 @@ public:
ml->SetMLock(mh, mlock.set, mlock.value, "Unknown");
}
}
+ Anope::SaveDatabases();
}
};
diff --git a/modules/database/db_old.cpp b/modules/database/db_old.cpp
index 98904b888..981d4c04e 100644
--- a/modules/database/db_old.cpp
+++ b/modules/database/db_old.cpp
@@ -1342,6 +1342,7 @@ public:
if (ci->c)
ci->c->CheckModes();
}
+ Anope::SaveDatabases();
}
};