diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2015-04-23 07:41:44 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2015-04-23 07:41:44 +0000 |
commit | e2ce3313fe054a776d6757b69930861d9fd4406c (patch) | |
tree | 751f545d1f0d2fb0209a52758e375ab3b32f04bf /plugins/StopSpamPlus/src/settings.cpp | |
parent | b962a9cd6553fc816a61f4ff17b68445a84dabb2 (diff) |
warning fix
stopstam works only with real protocols
git-svn-id: http://svn.miranda-ng.org/main/trunk@13050 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/StopSpamPlus/src/settings.cpp')
-rw-r--r-- | plugins/StopSpamPlus/src/settings.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/StopSpamPlus/src/settings.cpp b/plugins/StopSpamPlus/src/settings.cpp index bb061256cb..0dce70de52 100644 --- a/plugins/StopSpamPlus/src/settings.cpp +++ b/plugins/StopSpamPlus/src/settings.cpp @@ -25,7 +25,7 @@ std::string db_usage::DBGetPluginSetting(std::string const &name, std::string co bool db_usage::DBGetPluginSetting(std::string const &name, bool const &defValue)
{
- return(0 != db_get_b(NULL, pluginName, name.c_str(), defValue?1:0));
+ return(0 != db_get_b(NULL, pluginName, name.c_str(), defValue ? 1 : 0));
}
DWORD db_usage::DBGetPluginSetting(std::string const &name, DWORD const &defValue)
@@ -48,12 +48,12 @@ void db_usage::DBSetPluginSetting(std::string const &name, std::string const &va void db_usage::DBSetPluginSetting(std::string const &name, bool const &value)
{
- db_set_b(NULL, pluginName, name.c_str(), value?1:0);
+ db_set_b(NULL, pluginName, name.c_str(), value ? 1 : 0);
}
void db_usage::DBSetPluginSetting(std::string const &name, DWORD const &value)
{
- db_set_dw(NULL, pluginName, name.c_str(),value);
+ db_set_dw(NULL, pluginName, name.c_str(), value);
}
Settings *plSets;
|