diff options
Diffstat (limited to 'plugins/CmdLine/src')
-rw-r--r-- | plugins/CmdLine/src/mimcmd_handlers.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/plugins/CmdLine/src/mimcmd_handlers.cpp b/plugins/CmdLine/src/mimcmd_handlers.cpp index 89f1fb131e..4aeaa16d74 100644 --- a/plugins/CmdLine/src/mimcmd_handlers.cpp +++ b/plugins/CmdLine/src/mimcmd_handlers.cpp @@ -1449,7 +1449,10 @@ void HandleIgnoreCommand(PCommand command, TArgument *argv, int argc, PReply rep for (int i = 3; i < argc; i++) {
MCONTACT hContact = ParseContactParam(argv[i]);
if (hContact) {
- CallService(block ? MS_IGNORE_IGNORE : MS_IGNORE_UNIGNORE, (WPARAM)hContact, IGNOREEVENT_ALL);
+ if (block)
+ Ignore_Ignore(hContact, IGNOREEVENT_ALL);
+ else
+ Ignore_Allow(hContact, IGNOREEVENT_ALL);
}
}
|