summaryrefslogtreecommitdiff
path: root/plugins/Nudge/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/Nudge/src
parent15c49e3fc4cf033fffbf79e9f68a0405d5a95d14 (diff)
obsolete services from m_ignore.h converted into functions
Diffstat (limited to 'plugins/Nudge/src')
-rw-r--r--plugins/Nudge/src/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Nudge/src/main.cpp b/plugins/Nudge/src/main.cpp
index d39b12f2e7..4737abcf86 100644
--- a/plugins/Nudge/src/main.cpp
+++ b/plugins/Nudge/src/main.cpp
@@ -110,7 +110,7 @@ static int NudgeReceived(WPARAM hContact, LPARAM lParam)
if (!mir_strcmp(protoName, p->ProtocolName)) {
if (p->enabled) {
- if (p->useIgnoreSettings && CallService(MS_IGNORE_ISIGNORED, hContact, IGNOREEVENT_USERONLINE))
+ if (p->useIgnoreSettings && Ignore_IsIgnored(hContact, IGNOREEVENT_USERONLINE))
return 0;
int Status = Proto_GetStatus(protoName);
@@ -152,7 +152,7 @@ static int NudgeReceived(WPARAM hContact, LPARAM lParam)
}
else {
if (DefaultNudge.enabled) {
- if (DefaultNudge.useIgnoreSettings && CallService(MS_IGNORE_ISIGNORED, hContact, IGNOREEVENT_USERONLINE))
+ if (DefaultNudge.useIgnoreSettings && Ignore_IsIgnored(hContact, IGNOREEVENT_USERONLINE))
return 0;
DWORD Status = CallService(MS_CLIST_GETSTATUSMODE, 0, 0);