Index: src/plugin/PluginUserSettings.cpp |
=================================================================== |
--- a/src/plugin/PluginUserSettings.cpp |
+++ b/src/plugin/PluginUserSettings.cpp |
@@ -313,10 +313,9 @@ |
return DISP_E_TYPEMISMATCH; |
CComBSTR domain = pDispparams->rgvarg[0].bstrVal; |
- if (settings->IsWhiteListedDomain((BSTR)domain)) |
+ if (domain.Length()) |
{ |
- settings->AddWhiteListedDomain((BSTR)domain); |
- CPluginClient::GetInstance()->ClearWhiteListCache(); |
+ settings->RemoveWhiteListedDomain((BSTR)domain); |
} |
} |
else |