summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2023-02-21 17:09:34 +0300
committerGeorge Hazan <ghazan@miranda.im>2023-02-21 17:09:34 +0300
commit12aa166ab2c280b1b8cf4d8507512c750a587de1 (patch)
treed86aaa3dd022a13e7c9e77b7db468ad260bdf634 /plugins
parent4d2f4fab80174f6ab5e730b62fdf7abda015768b (diff)
code cleaning
Diffstat (limited to 'plugins')
-rw-r--r--plugins/VoiceService/src/services.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/VoiceService/src/services.cpp b/plugins/VoiceService/src/services.cpp
index 410cb0f171..68a26cd1d1 100644
--- a/plugins/VoiceService/src/services.cpp
+++ b/plugins/VoiceService/src/services.cpp
@@ -64,8 +64,7 @@ INT_PTR VoiceUnregister(WPARAM wParam, LPARAM)
if (call->module == module) {
call->Drop();
call->SetState(VOICE_STATE_ENDED);
-
- calls.remove(calls.indexOf(&call));
+ calls.removeItem(&call);
}
modules.remove(module);