From 53fe3e46177d17b4941610de19f5cc6210700cb4 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 12 Nov 2018 21:44:56 +0300 Subject: db_* functions replaced with g_plugin calls --- protocols/Omegle/src/chat.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'protocols/Omegle/src/chat.cpp') diff --git a/protocols/Omegle/src/chat.cpp b/protocols/Omegle/src/chat.cpp index ad42a0601f..3c47ff23dd 100644 --- a/protocols/Omegle/src/chat.cpp +++ b/protocols/Omegle/src/chat.cpp @@ -287,7 +287,7 @@ void OmegleProto::SetChatStatus(int status) facy.nick_ = db_get_wsa(NULL, m_szModuleName, OMEGLE_KEY_NAME); if (facy.nick_ == NULL) { facy.nick_ = mir_wstrdup(TranslateT("You")); - db_set_ws(NULL, m_szModuleName, OMEGLE_KEY_NAME, facy.nick_); + db_set_ws(0, m_szModuleName, OMEGLE_KEY_NAME, facy.nick_); } // Add self contact -- cgit v1.2.3