summaryrefslogtreecommitdiff
path: root/protocols/VKontakte/src/misc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/VKontakte/src/misc.cpp')
-rw-r--r--protocols/VKontakte/src/misc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/VKontakte/src/misc.cpp b/protocols/VKontakte/src/misc.cpp
index 4fe0e82eb5..d8fa035b10 100644
--- a/protocols/VKontakte/src/misc.cpp
+++ b/protocols/VKontakte/src/misc.cpp
@@ -212,7 +212,7 @@ bool CVkProto::CheckMid(LIST<void> &lList, int guid)
{
for (auto &it : lList)
if ((INT_PTR)it == guid) {
- lList.remove(lList.indexOf(&it));
+ lList.removeItem(&it);
return true;
}