summaryrefslogtreecommitdiff
path: root/src/resources/db/deaddb.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources/db/deaddb.cpp')
-rw-r--r--src/resources/db/deaddb.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/resources/db/deaddb.cpp b/src/resources/db/deaddb.cpp
index 8c273e239..632c3a79f 100644
--- a/src/resources/db/deaddb.cpp
+++ b/src/resources/db/deaddb.cpp
@@ -40,6 +40,8 @@ void DeadDB::load()
if (mLoaded)
unload();
+ logger->log1("Initializing dead database...");
+
loadXmlFile(paths.getStringValue("deadMessagesFile"), SkipError_false);
loadXmlFile(paths.getStringValue("deadMessagesPatchFile"), SkipError_true);
loadXmlDir("deadMessagesPatchDir", loadXmlFile);
@@ -92,6 +94,7 @@ void DeadDB::loadXmlFile(const std::string &fileName,
void DeadDB::unload()
{
+ logger->log1("Unloading dead database...");
mMessages.clear();
mLoaded = false;
}