summaryrefslogtreecommitdiff
path: root/plugins/IgnoreState/src
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/IgnoreState/src')
-rw-r--r--plugins/IgnoreState/src/main.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/IgnoreState/src/main.cpp b/plugins/IgnoreState/src/main.cpp
index 68f4701581..ebe32c0d36 100644
--- a/plugins/IgnoreState/src/main.cpp
+++ b/plugins/IgnoreState/src/main.cpp
@@ -147,10 +147,9 @@ int onModulesLoaded(WPARAM wParam,LPARAM lParam)
return 0;
}
-int onContactSettingChanged(WPARAM wParam,LPARAM lParam)
+int onContactSettingChanged(WPARAM hContact, LPARAM lParam)
{
DBCONTACTWRITESETTING *cws = (DBCONTACTWRITESETTING*)lParam;
- MCONTACT hContact = wParam;
if ( !lstrcmpA(cws->szModule, "Ignore") && !lstrcmpA(cws->szSetting, "Mask1"))
applyExtraImage(hContact);