summaryrefslogtreecommitdiff
path: root/plugins/NewsAggregator
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/NewsAggregator')
-rw-r--r--plugins/NewsAggregator/Src/Options.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/plugins/NewsAggregator/Src/Options.cpp b/plugins/NewsAggregator/Src/Options.cpp
index c753a655f6..8fe44be7d9 100644
--- a/plugins/NewsAggregator/Src/Options.cpp
+++ b/plugins/NewsAggregator/Src/Options.cpp
@@ -241,6 +241,12 @@ INT_PTR CALLBACK DlgProcChangeFeedOpts(HWND hwndDlg, UINT msg, WPARAM wParam, LP
CallService(MS_DB_CRYPT_ENCODESTRING, strlen(passw), (LPARAM)&passw);
db_set_s(SelItem->hContact, MODULE, "Password", passw);
}
+ else
+ {
+ db_unset(SelItem->hContact, MODULE, "UseAuth");
+ db_unset(SelItem->hContact, MODULE, "Login");
+ db_unset(SelItem->hContact, MODULE, "Password");
+ }
DeleteAllItems(SelItem->hwndList);
UpdateList(SelItem->hwndList);
}
@@ -394,6 +400,12 @@ INT_PTR CALLBACK DlgProcChangeFeedMenu(HWND hwndDlg, UINT msg, WPARAM wParam, LP
CallService(MS_DB_CRYPT_ENCODESTRING, strlen(passw), (LPARAM)&passw);
db_set_s(hContact, MODULE, "Password", passw);
}
+ else
+ {
+ db_unset(hContact, MODULE, "UseAuth");
+ db_unset(hContact, MODULE, "Login");
+ db_unset(hContact, MODULE, "Password");
+ }
}
case IDCANCEL: