summaryrefslogtreecommitdiff
path: root/protocols/MinecraftDynmap/src/communication.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-11-14 15:43:25 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-11-14 15:43:25 +0300
commit28b81bbed5d8db354349fd787c3db4123e55d423 (patch)
tree9861c246bdb7696c25adbbcd9f210dda430f846e /protocols/MinecraftDynmap/src/communication.cpp
parent4b933c7b73a4151872dea3119685cdebe40532c7 (diff)
code cleaning
Diffstat (limited to 'protocols/MinecraftDynmap/src/communication.cpp')
-rw-r--r--protocols/MinecraftDynmap/src/communication.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/MinecraftDynmap/src/communication.cpp b/protocols/MinecraftDynmap/src/communication.cpp
index 2124715301..35f74f0818 100644
--- a/protocols/MinecraftDynmap/src/communication.cpp
+++ b/protocols/MinecraftDynmap/src/communication.cpp
@@ -353,7 +353,7 @@ void MinecraftDynmapProto::SignOnWorker(void*)
int old_status = m_iStatus;
// Load server from database
- ptrA str(db_get_sa(NULL, m_szModuleName, MINECRAFTDYNMAP_KEY_SERVER));
+ ptrA str(db_get_sa(0, m_szModuleName, MINECRAFTDYNMAP_KEY_SERVER));
if (!str || !str[0]) {
MessageBox(nullptr, TranslateT("Set server address to connect."), m_tszUserName, MB_OK);
SetStatus(ID_STATUS_OFFLINE);