From 22c79dbeea18dc46951445476976d8c634dd3c60 Mon Sep 17 00:00:00 2001 From: Alexander Lantsev Date: Wed, 2 Sep 2015 19:24:27 +0000 Subject: Dropbox: code cleanup & menu uid git-svn-id: http://svn.miranda-ng.org/main/trunk@15157 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Dropbox/src/dropbox_events.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/Dropbox/src/dropbox_events.cpp') diff --git a/plugins/Dropbox/src/dropbox_events.cpp b/plugins/Dropbox/src/dropbox_events.cpp index 1ee5fe72d9..dd7ad44426 100644 --- a/plugins/Dropbox/src/dropbox_events.cpp +++ b/plugins/Dropbox/src/dropbox_events.cpp @@ -79,7 +79,7 @@ int CDropbox::OnSrmmWindowOpened(WPARAM, LPARAM lParam) bbd.pszModuleName = MODULE; bbd.dwButtonID = BBB_ID_FILE_SEND; bbd.bbbFlags = BBSF_RELEASED; - if (!HasAccessToken() || ev->hContact == GetDefaultContact() || !HasAccessToken()) + if (!HasAccessToken() || ev->hContact == GetDefaultContact()) bbd.bbbFlags = BBSF_HIDDEN | BBSF_DISABLED; else if (!isProtoOnline || (status == ID_STATUS_OFFLINE && !canSendOffline)) bbd.bbbFlags = BBSF_DISABLED; -- cgit v1.2.3