summaryrefslogtreecommitdiff
path: root/plugins/IgnoreState
diff options
context:
space:
mode:
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");