summaryrefslogtreecommitdiff
path: root/src/resources/db/commandsdb.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources/db/commandsdb.cpp')
-rw-r--r--src/resources/db/commandsdb.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/resources/db/commandsdb.cpp b/src/resources/db/commandsdb.cpp
index 0f3046047..4fc5136c4 100644
--- a/src/resources/db/commandsdb.cpp
+++ b/src/resources/db/commandsdb.cpp
@@ -40,6 +40,7 @@ void CommandsDB::load()
{
if (mLoaded)
unload();
+ logger->log1("Initializing commands database...");
loadXmlFile(paths.getStringValue("defaultCommandsFile"),
SkipError_false);
loadXmlFile(paths.getStringValue("defaultCommandsPatchFile"),
@@ -150,6 +151,7 @@ void CommandsDB::loadXmlFile(const std::string &fileName,
void CommandsDB::unload()
{
+ logger->log1("Unloading commands database...");
mCommands.clear();
mLoaded = false;
}