summaryrefslogtreecommitdiff
path: root/plugins/MirFox/src/MirandaOptions.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/MirFox/src/MirandaOptions.cpp')
-rw-r--r--plugins/MirFox/src/MirandaOptions.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/MirFox/src/MirandaOptions.cpp b/plugins/MirFox/src/MirandaOptions.cpp
index 03714b8c71..5653ad774a 100644
--- a/plugins/MirFox/src/MirandaOptions.cpp
+++ b/plugins/MirFox/src/MirandaOptions.cpp
@@ -483,9 +483,9 @@ INT_PTR CALLBACK DlgProcOpts_Tab2(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM
//save to db 1 - on, 2 - off
if (contactState == MFENUM_MIRANDACONTACT_STATE_OFF){
- db_set_b(hContact, MODULENAME, "state", 2);
+ g_plugin.setByte(hContact, "state", 2);
} else {
- db_set_b(hContact, MODULENAME, "state", 1);
+ g_plugin.setByte(hContact, "state", 1);
}