diff options
author | George Hazan <ghazan@miranda.im> | 2017-03-08 16:57:24 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2017-03-08 16:57:24 +0300 |
commit | 43177ef97c1421502b5a2be9b8b62a6809fb29bf (patch) | |
tree | b2f27ba9258583afbf4633ef5736bc876bbc4111 /plugins/TabSRMM/src/chat_main.cpp | |
parent | 7b19b6715a75c52e0285ee2031a8fa2ddace1da7 (diff) |
cosmetic code cleaning
Diffstat (limited to 'plugins/TabSRMM/src/chat_main.cpp')
-rw-r--r-- | plugins/TabSRMM/src/chat_main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/TabSRMM/src/chat_main.cpp b/plugins/TabSRMM/src/chat_main.cpp index aeac520800..570dd311be 100644 --- a/plugins/TabSRMM/src/chat_main.cpp +++ b/plugins/TabSRMM/src/chat_main.cpp @@ -36,7 +36,7 @@ TMUCSettings g_Settings; static void OnCreateSession(SESSION_INFO *si, MODULEINFO *mi)
{
- si->bFilterEnabled = db_get_b(si->hContact, "Chat", "FilterEnabled", M.GetByte("Chat", "FilterEnabled", 0));
+ si->bFilterEnabled = db_get_b(si->hContact, "Chat", "FilterEnabled", M.GetByte("Chat", "FilterEnabled", 0)) != 0;
Chat_SetFilters(si);
if (mi) {
|