From 57eda120c8c612d0a7785d8ba65de7924b7b867f Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 5 Jun 2012 19:35:11 +0000 Subject: mirVersion cleaning git-svn-id: http://svn.miranda-ng.org/main/trunk@319 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/IRCG/main.cpp | 9 --------- 1 file changed, 9 deletions(-) (limited to 'protocols/IRCG/main.cpp') diff --git a/protocols/IRCG/main.cpp b/protocols/IRCG/main.cpp index 841817a07e..ab48fd4f1b 100644 --- a/protocols/IRCG/main.cpp +++ b/protocols/IRCG/main.cpp @@ -28,7 +28,6 @@ UTF8_INTERFACE utfi; MM_INTERFACE mmi; LIST_INTERFACE li; -int mirVersion; int hLangpack; static int CompareServers( const SERVER_INFO* p1, const SERVER_INFO* p2 ) @@ -76,14 +75,6 @@ extern "C" BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD, LPVOID) extern "C" __declspec(dllexport) PLUGININFOEX* MirandaPluginInfoEx(DWORD mirandaVersion) { - if ( mirandaVersion < MIRANDA_VERSION_CORE ) { - MessageBoxA( NULL, - "The IRC protocol plugin cannot be loaded. It requires Miranda IM " MIRANDA_VERSION_CORE_STRING " or later.", - "IRC Protocol Plugin", MB_OK|MB_ICONWARNING|MB_SETFOREGROUND|MB_TOPMOST ); - return NULL; - } - - mirVersion = mirandaVersion; return &pluginInfo; } -- cgit v1.2.3