diff options
author | Alexander Lantsev <aunsane@gmail.com> | 2014-09-21 13:17:26 +0000 |
---|---|---|
committer | Alexander Lantsev <aunsane@gmail.com> | 2014-09-21 13:17:26 +0000 |
commit | 6b7333368cbbc9abf609fa0d4c093ad0273cae61 (patch) | |
tree | 2938509ff62c2821827041b3a6a514d067785b2d | |
parent | a310961639734e7cea7e1ca7beb06efffef4fb50 (diff) |
Tox: fixed searching by tox dns
git-svn-id: http://svn.miranda-ng.org/main/trunk@10542 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
-rw-r--r-- | protocols/Tox/src/tox_search.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
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());
|