summaryrefslogtreecommitdiff
path: root/plugins/IgnoreState
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/IgnoreState
parent15c49e3fc4cf033fffbf79e9f68a0405d5a95d14 (diff)
obsolete services from m_ignore.h converted into functions
Diffstat (limited to 'plugins/IgnoreState')
-rw-r--r--plugins/IgnoreState/src/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/IgnoreState/src/main.cpp b/plugins/IgnoreState/src/main.cpp
index 1776080f67..403c6ed3c5 100644
--- a/plugins/IgnoreState/src/main.cpp
+++ b/plugins/IgnoreState/src/main.cpp
@@ -72,7 +72,7 @@ INT_PTR isIgnored(MCONTACT hContact, int type)
int all = 0, filtered = 0;
if (type != IGNOREEVENT_ALL)
- return CallService(MS_IGNORE_ISIGNORED, hContact, (LPARAM)type);
+ return Ignore_IsIgnored(hContact, type);
for (int i = 1; i < nII; i++)
if (isIgnored(hContact, ii[i].type))
@@ -151,7 +151,7 @@ int CMPlugin::Load()
HookEvent(ME_DB_CONTACT_SETTINGCHANGED, onContactSettingChanged);
HookEvent(ME_OPT_INITIALISE, onOptInitialise);
- //IcoLib support
+ // IcoLib support
g_plugin.registerIcon(LPGEN("Ignore State"), iconList);
hExtraIcon = ExtraIcon_RegisterIcolib("ignore", LPGEN("Ignore State"), "ignore_full");