From 6b7333368cbbc9abf609fa0d4c093ad0273cae61 Mon Sep 17 00:00:00 2001 From: Alexander Lantsev Date: Sun, 21 Sep 2014 13:17:26 +0000 Subject: Tox: fixed searching by tox dns git-svn-id: http://svn.miranda-ng.org/main/trunk@10542 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/Tox/src/tox_search.cpp | 8 -------- 1 file changed, 8 deletions(-) (limited to 'protocols') diff --git a/protocols/Tox/src/tox_search.cpp b/protocols/Tox/src/tox_search.cpp index 6ceea8d07f..22cf2e78f9 100644 --- a/protocols/Tox/src/tox_search.cpp +++ b/protocols/Tox/src/tox_search.cpp @@ -45,14 +45,6 @@ void CToxProto::SearchByNameAsync(void *arg) { std::string id = DataToHexString(address); - if (IsMe(id)) - { - ShowNotification(TranslateT("You cannot add yourself to friend list"), 0); - ProtoBroadcastAck(NULL, ACKTYPE_SEARCH, ACKRESULT_FAILED, (HANDLE)1, 0); - mir_free(arg); - return; - } - PROTOSEARCHRESULT psr = { sizeof(PROTOSEARCHRESULT) }; psr.flags = PSR_TCHAR; psr.id = mir_a2t(id.c_str()); -- cgit v1.2.3