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, 1 insertions, 3 deletions
diff --git a/src/modules/database/database.cpp b/src/modules/database/database.cpp
index 5fdd136497..cab6cbfadb 100644
--- a/src/modules/database/database.cpp
+++ b/src/modules/database/database.cpp
@@ -449,11 +449,9 @@ int LoadDatabaseModule(void)
if (!getProfile(szProfile, SIZEOF(szProfile)))
return 1;
- EnsureCheckerLoaded(false); // unload dbchecker
-
if (arDbPlugins.getCount() == 0) {
TCHAR buf[256];
- TCHAR* p = _tcsrchr(szProfile, '\\');
+ TCHAR *p = _tcsrchr(szProfile, '\\');
mir_sntprintf(buf, SIZEOF(buf), TranslateT("Miranda is unable to open '%s' because you do not have any profile plugins installed.\nYou need to install dbx_mmap.dll"), p ? ++p : szProfile);
MessageBox(0, buf, TranslateT("No profile support installed!"), MB_OK | MB_ICONERROR);
}