From 66f476ebe438f7d4ccfb3c88cb8c423f22e08d4d Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 4 Feb 2019 19:40:10 +0300 Subject: ICQ10: - fixes #1821 (ICQ10: add Ignore list); - code reordering; --- protocols/ICQ-WIM/src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'protocols/ICQ-WIM/src/main.cpp') diff --git a/protocols/ICQ-WIM/src/main.cpp b/protocols/ICQ-WIM/src/main.cpp index 6667a90ea1..c0428cb7d0 100644 --- a/protocols/ICQ-WIM/src/main.cpp +++ b/protocols/ICQ-WIM/src/main.cpp @@ -66,7 +66,7 @@ static INT_PTR ICQPermitDeny(WPARAM hContact, LPARAM, LPARAM bAllow) { CIcqProto *proto = CMPlugin::getInstance(hContact); if (proto) - proto->SetPermitDeny(hContact, bAllow != 0); + proto->SetPermitDeny(proto->GetUserId(hContact), bAllow != 0); return 0; } -- cgit v1.2.3