From a25497f31ef6f49d65eeeb61b38fed6e5710b230 Mon Sep 17 00:00:00 2001 From: aunsane Date: Thu, 21 Dec 2017 16:39:10 +0300 Subject: Tox: removed unneeded check fot libtox version --- protocols/Tox/src/main.cpp | 8 -------- 1 file changed, 8 deletions(-) (limited to 'protocols/Tox') diff --git a/protocols/Tox/src/main.cpp b/protocols/Tox/src/main.cpp index 3d40928abf..99cd7607a1 100644 --- a/protocols/Tox/src/main.cpp +++ b/protocols/Tox/src/main.cpp @@ -51,14 +51,6 @@ int OnModulesLoaded(WPARAM, LPARAM) extern "C" int __declspec(dllexport) Load(void) { - if (!TOX_VERSION_IS_ABI_COMPATIBLE()) - { - wchar_t message[100]; - mir_snwprintf(message, TranslateT("Current version of plugin is support Tox API version %i.%i.%i which is incompatible with libtox.mir"), TOX_VERSION_MAJOR, TOX_VERSION_MINOR, TOX_VERSION_PATCH); - CToxProto::ShowNotification(message, MB_ICONERROR); - return 2; - } - mir_getLP(&pluginInfo); pci = Chat_GetInterface(); pcli = Clist_GetInterface(); -- cgit v1.2.3