diff options
Diffstat (limited to 'plugins/Msg_Export/src/utils.cpp')
-rwxr-xr-x | plugins/Msg_Export/src/utils.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Msg_Export/src/utils.cpp b/plugins/Msg_Export/src/utils.cpp index 3ae4ac9ec4..5f7be44f0a 100755 --- a/plugins/Msg_Export/src/utils.cpp +++ b/plugins/Msg_Export/src/utils.cpp @@ -397,7 +397,7 @@ wstring GetFilePathFromUser(MCONTACT hContact) }
// Store the Filename used so that we can check if it changes.
- db_set_ws(hContact, MODULENAME, "PrevFileName", sNoDBPath.c_str());
+ g_plugin.setWString(hContact, "PrevFileName", sNoDBPath.c_str());
}
return sFilePath;
@@ -1011,7 +1011,7 @@ HANDLE openCreateFile(wstring sFilePath) bool bIsExportEnabled(MCONTACT hContact)
{
- if (!db_get_b(hContact, MODULENAME, "EnableLog", 1))
+ if (!g_plugin.getByte(hContact, "EnableLog", 1))
return false;
const char *szProto = GetContactProto(hContact);
|