summaryrefslogtreecommitdiff
path: root/protocols/CurrencyRates/src/HTTPSession.cpp
diff options
context:
space:
mode:
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 = {};