summaryrefslogtreecommitdiff
path: root/plugins/Scriver
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-03-29 20:05:57 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-03-29 20:05:57 +0000
commit904c13ee8896fcffffde1a4fa23deeec0ccd3019 (patch)
treeb04cffb32b65eaa713ec7b33e301b369d901e892 /plugins/Scriver
parenta853088930f45694c6d715c72fcdc243db5a47d6 (diff)
fix for broken data change hook in Scriver
git-svn-id: http://svn.miranda-ng.org/main/trunk@8788 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Scriver')
-rw-r--r--plugins/Scriver/src/msgs.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Scriver/src/msgs.cpp b/plugins/Scriver/src/msgs.cpp
index 7b7bb06af7..0a77faa6fc 100644
--- a/plugins/Scriver/src/msgs.cpp
+++ b/plugins/Scriver/src/msgs.cpp
@@ -249,7 +249,7 @@ static int MessageSettingChanged(WPARAM hContact, LPARAM lParam)
{
DBCONTACTWRITESETTING *cws = (DBCONTACTWRITESETTING *)lParam;
char *szProto = GetContactProto(hContact);
- if (!lstrcmpA(cws->szModule, "CList") && !lstrcmpA(cws->szModule, szProto))
+ if (!lstrcmpA(cws->szModule, "CList") || !lstrcmpA(cws->szModule, szProto))
WindowList_Broadcast(g_dat.hMessageWindowList, DM_CLISTSETTINGSCHANGED, hContact, lParam);
return 0;
}