summaryrefslogtreecommitdiff
path: root/protocols/Weather
diff options
context:
space:
mode:
authorVadim Dashevskiy <watcherhd@gmail.com>2012-06-05 20:02:16 +0000
committerVadim Dashevskiy <watcherhd@gmail.com>2012-06-05 20:02:16 +0000
commit9e97d362c526ddcf8c6ee68891575a7d24918b67 (patch)
treee757afc82ff393e6394b81a17baec4dd3d7482bf /protocols/Weather
parent439a7d68a8ff7465e735749068255dfa0c4af5ad (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.cpp8
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