summaryrefslogtreecommitdiff
path: root/protocols/ICQ-WIM/src/main.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2019-02-04 19:40:10 +0300
committerGeorge Hazan <ghazan@miranda.im>2019-02-04 19:40:10 +0300
commit66f476ebe438f7d4ccfb3c88cb8c423f22e08d4d (patch)
treee723e937ea347d955e9b1da19e704d74512d2a84 /protocols/ICQ-WIM/src/main.cpp
parentae5912910a16d90b61b36b85cf9ca39fc1097bf2 (diff)
ICQ10:
- fixes #1821 (ICQ10: add Ignore list); - code reordering;
Diffstat (limited to 'protocols/ICQ-WIM/src/main.cpp')
-rw-r--r--protocols/ICQ-WIM/src/main.cpp2
1 files changed, 1 insertions, 1 deletions
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;
}