From 4cdd4f85ebe39389b7f45d6da8c39a368259b866 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 9 Feb 2024 11:23:45 +0300 Subject: CurrencyRates: all settings migrated to CMOption<> --- protocols/CurrencyRates/src/HTTPSession.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'protocols/CurrencyRates/src/HTTPSession.cpp') 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 = {}; -- cgit v1.2.3