summaryrefslogtreecommitdiff
path: root/plugins/wbOSD/src
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2019-09-27 14:40:29 +0300
committerGeorge Hazan <ghazan@miranda.im>2019-09-27 14:40:29 +0300
commit226f2fceddb5b81d5ba7a16729b4f07e53cfafb4 (patch)
tree77d177e5517eb8267c2755b97f4fe9a3d37d1a37 /plugins/wbOSD/src
parent15c49e3fc4cf033fffbf79e9f68a0405d5a95d14 (diff)
obsolete services from m_ignore.h converted into functions
Diffstat (limited to 'plugins/wbOSD/src')
-rw-r--r--plugins/wbOSD/src/events.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/wbOSD/src/events.cpp b/plugins/wbOSD/src/events.cpp
index 925ad4e588..778d2763b5 100644
--- a/plugins/wbOSD/src/events.cpp
+++ b/plugins/wbOSD/src/events.cpp
@@ -90,7 +90,7 @@ int ContactSettingChanged(WPARAM wParam, LPARAM lParam)
db_set_w(hContact, "UserOnline", "OldStatus2", newStatus);
- if (CallService(MS_IGNORE_ISIGNORED, wParam, IGNOREEVENT_USERONLINE)) return 0;
+ if (Ignore_IsIgnored(wParam, IGNOREEVENT_USERONLINE)) return 0;
DWORD dwStatuses = MAKELPARAM(oldStatus, newStatus);
NotifyEventHooks(hHookContactStatusChanged, wParam, (LPARAM)dwStatuses);
@@ -117,7 +117,7 @@ int ContactStatusChanged(WPARAM wParam, LPARAM lParam)
logmsg("ContactStatusChanged2");
- if (db_get_b(hContact, "CList", "NotOnList", 0) || Clist_IsHidden(hContact) || (CallService(MS_IGNORE_ISIGNORED, wParam, IGNOREEVENT_USERONLINE) && newStatus == ID_STATUS_ONLINE))
+ if (db_get_b(hContact, "CList", "NotOnList", 0) || Clist_IsHidden(hContact) || (Ignore_IsIgnored(wParam, IGNOREEVENT_USERONLINE) && newStatus == ID_STATUS_ONLINE))
return 0;
wchar_t bufferW[512];