summaryrefslogtreecommitdiff
path: root/protocols/ICQ-WIM/src/main.cpp
diff options
context:
space:
mode:
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;
}