summaryrefslogtreecommitdiff
path: root/src/modules/database/database.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/database/database.cpp')
-rw-r--r--src/modules/database/database.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/modules/database/database.cpp b/src/modules/database/database.cpp
index 21a958ecd4..2e2adf9b50 100644
--- a/src/modules/database/database.cpp
+++ b/src/modules/database/database.cpp
@@ -32,6 +32,8 @@ TCHAR g_profileDir[MAX_PATH], g_profileName[MAX_PATH], g_shortProfileName[MAX_PA
TCHAR* g_defaultProfile;
void EnsureCheckerLoaded(bool);
+void LoadDatabaseServices();
+
bool fileExist(TCHAR* fname)
{
if (*fname == 0)
@@ -437,6 +439,8 @@ int LoadDatabaseModule(void)
_tchdir(szProfile);
szProfile[0] = 0;
+ LoadDatabaseServices();
+
// find out which profile to load
if (!getProfile(szProfile, SIZEOF(szProfile)))
return 1;