From 9e97d362c526ddcf8c6ee68891575a7d24918b67 Mon Sep 17 00:00:00 2001 From: Vadim Dashevskiy Date: Tue, 5 Jun 2012 20:02:16 +0000 Subject: mirVersion cleaning git-svn-id: http://svn.miranda-ng.org/main/trunk@321 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/Weather/weather.cpp | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'protocols/Weather') 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 -- cgit v1.2.3