diff options
author | Vadim Dashevskiy <watcherhd@gmail.com> | 2012-06-05 20:02:16 +0000 |
---|---|---|
committer | Vadim Dashevskiy <watcherhd@gmail.com> | 2012-06-05 20:02:16 +0000 |
commit | 9e97d362c526ddcf8c6ee68891575a7d24918b67 (patch) | |
tree | e757afc82ff393e6394b81a17baec4dd3d7482bf /protocols/Weather | |
parent | 439a7d68a8ff7465e735749068255dfa0c4af5ad (diff) |
mirVersion cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@321 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Weather')
-rw-r--r-- | protocols/Weather/weather.cpp | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/protocols/Weather/weather.cpp b/protocols/Weather/weather.cpp index c0dc3c3373..e5458336c5 100644 --- a/protocols/Weather/weather.cpp +++ b/protocols/Weather/weather.cpp @@ -85,13 +85,7 @@ static const PLUGININFOEX pluginInfoEx = extern "C" __declspec(dllexport) const PLUGININFOEX* MirandaPluginInfoEx(DWORD mirandaVersion)
{
- if (mirandaVersion < PLUGIN_MAKE_VERSION(0,8,0,0)) {
- MessageBoxA(NULL, "Weather Protocol requires Miranda 0.8.0.0 or later to run.", "Weather Protocol", MB_OK|MB_ICONERROR|MB_APPLMODAL);
- return NULL;
- }
- // if Miranda version is higher than 0.7.0
- else
- return &pluginInfoEx;
+ return &pluginInfoEx;
}
// MirandaPluginInterfaces - returns the protocol interface to the core
|