summaryrefslogtreecommitdiff
path: root/plugins/FTPFileYM/src/utils.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/FTPFileYM/src/utils.cpp')
-rw-r--r--plugins/FTPFileYM/src/utils.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/FTPFileYM/src/utils.cpp b/plugins/FTPFileYM/src/utils.cpp
index e866115cd6..6b17c59f52 100644
--- a/plugins/FTPFileYM/src/utils.cpp
+++ b/plugins/FTPFileYM/src/utils.cpp
@@ -111,7 +111,7 @@ void Utils::curlSetOpt(CURL *hCurl, ServerList::FTP *ftp, char *url, struct curl
if (ftp->m_bPassive)
curl_easy_setopt(hCurl, CURLOPT_FTPPORT, 0);
else {
- ptrA localip(db_get_sa(NULL, MODULENAME, "LocalIP"));
+ ptrA localip(g_plugin.getStringA("LocalIP"));
if (localip)
curl_easy_setopt(hCurl, CURLOPT_FTPPORT, localip);
else