summaryrefslogtreecommitdiff
path: root/protocols/CurrencyRates/src/HTTPSession.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2024-02-09 11:23:45 +0300
committerGeorge Hazan <george.hazan@gmail.com>2024-02-09 11:23:45 +0300
commit4cdd4f85ebe39389b7f45d6da8c39a368259b866 (patch)
treeafe20ee1b4d37e72f9a527db738d6b19693957dc /protocols/CurrencyRates/src/HTTPSession.cpp
parent354f557eb6cfcaf4010161032c6da27d253e71ad (diff)
CurrencyRates: all settings migrated to CMOption<>
Diffstat (limited to 'protocols/CurrencyRates/src/HTTPSession.cpp')
-rw-r--r--protocols/CurrencyRates/src/HTTPSession.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/protocols/CurrencyRates/src/HTTPSession.cpp b/protocols/CurrencyRates/src/HTTPSession.cpp
index 62fdce7fd4..2843814b71 100644
--- a/protocols/CurrencyRates/src/HTTPSession.cpp
+++ b/protocols/CurrencyRates/src/HTTPSession.cpp
@@ -56,8 +56,7 @@ bool CHTTPSession::Init()
{
assert(nullptr == g_hNetLib);
- ptrA szApiKey(g_plugin.getStringA(DB_KEY_ApiKey));
- if (mir_strlen(szApiKey) == 0 && g_pCurrentProvider->HasAuth())
+ if (mir_wstrlen(g_plugin.wszApiKey) == 0 && g_pCurrentProvider->HasAuth())
Miranda_WaitOnHandle(waitStub);
NETLIBUSER nlu = {};