summaryrefslogtreecommitdiff
path: root/plugins/Watrack_MPD/src/init.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-11-12 21:44:56 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-11-12 21:44:56 +0300
commit53fe3e46177d17b4941610de19f5cc6210700cb4 (patch)
treeb67a6bc208dad141f9db14035cd7e42ff2a51872 /plugins/Watrack_MPD/src/init.cpp
parent488214ac8af0c4aeb1a5c1d8fd48368daaf4c4c7 (diff)
db_* functions replaced with g_plugin calls
Diffstat (limited to 'plugins/Watrack_MPD/src/init.cpp')
-rwxr-xr-xplugins/Watrack_MPD/src/init.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/Watrack_MPD/src/init.cpp b/plugins/Watrack_MPD/src/init.cpp
index 49d25d64b8..45f263e94d 100755
--- a/plugins/Watrack_MPD/src/init.cpp
+++ b/plugins/Watrack_MPD/src/init.cpp
@@ -53,9 +53,9 @@ static int OnModulesLoaded(WPARAM, LPARAM)
nlu.szSettingsModule = __PLUGIN_NAME;
ghNetlibUser = Netlib_RegisterUser(&nlu);
- gbPort = db_get_w(NULL, MODULENAME, "Port", 6600);
- gbHost = UniGetContactSettingUtf(NULL, MODULENAME, "Server", L"127.0.0.1");
- gbPassword = UniGetContactSettingUtf(NULL, MODULENAME, "Password", L"");
+ gbPort = g_plugin.getWord("Port", 6600);
+ gbHost = UniGetContactSettingUtf(0, MODULENAME, "Server", L"127.0.0.1");
+ gbPassword = UniGetContactSettingUtf(0, MODULENAME, "Password", L"");
if (ServiceExists(MS_WAT_PLAYER))
bWatrackService = TRUE;