diff options
author | Alexander Lantsev <aunsane@gmail.com> | 2016-02-27 16:13:53 +0000 |
---|---|---|
committer | Alexander Lantsev <aunsane@gmail.com> | 2016-02-27 16:13:53 +0000 |
commit | 411735c18a498b8a5aafd32ba1c8cae3ff52c650 (patch) | |
tree | 8b552627a46ee1fc2a2f9f2db45fb387865d03c8 /plugins/Dropbox/src/dropbox_services.cpp | |
parent | ce1317d110f70eee0d835ffa3c761168e2f5e9b7 (diff) |
Dropbox: renamed setting name
git-svn-id: http://svn.miranda-ng.org/main/trunk@16364 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Dropbox/src/dropbox_services.cpp')
-rw-r--r-- | plugins/Dropbox/src/dropbox_services.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/plugins/Dropbox/src/dropbox_services.cpp b/plugins/Dropbox/src/dropbox_services.cpp index 85c5e1c661..441afaf517 100644 --- a/plugins/Dropbox/src/dropbox_services.cpp +++ b/plugins/Dropbox/src/dropbox_services.cpp @@ -75,8 +75,10 @@ INT_PTR CDropbox::ProtoSendFileInterceptor(WPARAM wParam, LPARAM lParam) CCSDATA *pccsd = (CCSDATA*)lParam;
const char *proto = GetContactProto(pccsd->hContact);
- const char *interceptedProtos = db_get_sa(NULL, MODULE, "InterceptedProtos");
- if (interceptedProtos == NULL || strstr(interceptedProtos, proto) == NULL)
+ const char *interceptedAccounts = db_get_sa(NULL, MODULE, "InterceptedAccounts");
+ if (interceptedAccounts == NULL)
+ interceptedAccounts = db_get_sa(NULL, MODULE, "InterceptedProtos");
+ if (interceptedAccounts == NULL || strstr(interceptedAccounts, proto) == NULL)
return CALLSERVICE_NOTFOUND;
return ProtoSendFile(wParam, lParam);
|