summaryrefslogtreecommitdiff
path: root/plugins/Watrack_MPD/src/init.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Watrack_MPD/src/init.cpp')
-rwxr-xr-xplugins/Watrack_MPD/src/init.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Watrack_MPD/src/init.cpp b/plugins/Watrack_MPD/src/init.cpp
index d83e142bed..9b33425cb7 100755
--- a/plugins/Watrack_MPD/src/init.cpp
+++ b/plugins/Watrack_MPD/src/init.cpp
@@ -50,7 +50,7 @@ extern "C" __declspec(dllexport) PLUGININFOEX* MirandaPluginInfoEx(DWORD miranda
void InitVars()
{
- gbPort = DBGetContactSettingWord(NULL, szModuleName, "Port", 6600);
+ gbPort = db_get_w(NULL, szModuleName, "Port", 6600);
gbPassword = (TCHAR*)malloc(64*sizeof(TCHAR));
gbHost = (TCHAR*)malloc(128*sizeof(TCHAR));
gbHost = UniGetContactSettingUtf(NULL, szModuleName, "Server", _T("127.0.0.1"));