summaryrefslogtreecommitdiff
path: root/db3x_autobackups/init.c
diff options
context:
space:
mode:
authorsje <sje@4f64403b-2f21-0410-a795-97e2b3489a10>2007-07-29 14:19:53 +0000
committersje <sje@4f64403b-2f21-0410-a795-97e2b3489a10>2007-07-29 14:19:53 +0000
commitc5e9cd21d6ca8203dffb4bed1ac11127ba7a722a (patch)
tree23eac7ff5e9015e450d910b9b78563c2c8da1c99 /db3x_autobackups/init.c
parent2d5acb9afe2fe861f7af1cdd7349056c97173ced (diff)
fix premature display of copy progress dialog
git-svn-id: https://server.scottellis.com.au/svn/mim_plugs@307 4f64403b-2f21-0410-a795-97e2b3489a10
Diffstat (limited to 'db3x_autobackups/init.c')
-rw-r--r--db3x_autobackups/init.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/db3x_autobackups/init.c b/db3x_autobackups/init.c
index ae2e7fa..7b60ab5 100644
--- a/db3x_autobackups/init.c
+++ b/db3x_autobackups/init.c
@@ -175,6 +175,10 @@ __declspec(dllexport) DATABASELINK* DatabasePluginInfo(void * reserved)
__declspec(dllexport) PLUGININFOEX * MirandaPluginInfoEx(DWORD mirandaVersion)
{
+ if ( mirandaVersion < PLUGIN_MAKE_VERSION(0,7,0,0)) {
+ MessageBox( NULL, _T("The db3x_mmap plugin cannot be loaded. It requires Miranda IM 0.7.0.0 or later."), _T("db3x_mmap Plugin"), MB_OK|MB_ICONWARNING|MB_SETFOREGROUND|MB_TOPMOST );
+ return NULL;
+ }
return &pluginInfo;
}