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/Omegle/main.cpp | 16 ---------------- 1 file changed, 16 deletions(-) (limited to 'protocols/Omegle') diff --git a/protocols/Omegle/main.cpp b/protocols/Omegle/main.cpp index 3dd6570182..d433e48e86 100644 --- a/protocols/Omegle/main.cpp +++ b/protocols/Omegle/main.cpp @@ -75,22 +75,6 @@ DWORD WINAPI DllMain(HINSTANCE hInstance,DWORD,LPVOID) extern "C" __declspec(dllexport) PLUGININFOEX* MirandaPluginInfoEx(DWORD mirandaVersion) { - if(mirandaVersion > PLUGIN_MAKE_VERSION(0,10,0,0) && - mirandaVersion < PLUGIN_MAKE_VERSION(0,10,0,2)) - { - MessageBox(0,_T("The Omegle protocol plugin cannot be loaded. ") - _T("It requires Miranda IM 0.10 alpha build #2 or later."),_T("Miranda"), - MB_OK|MB_ICONWARNING|MB_SETFOREGROUND|MB_TOPMOST); - return NULL; - } - else if(mirandaVersion < PLUGIN_MAKE_VERSION(0,9,43,0)) - { - MessageBox(0,_T("The Omegle protocol plugin cannot be loaded. ") - _T("It requires Miranda IM 0.9.43 or later."),_T("Miranda"), - MB_OK|MB_ICONWARNING|MB_SETFOREGROUND|MB_TOPMOST); - return NULL; - } - g_mirandaVersion = mirandaVersion; return &pluginInfo; } -- cgit v1.2.3