diff options
author | George Hazan <ghazan@miranda.im> | 2020-01-30 20:18:37 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2020-01-30 20:18:46 +0300 |
commit | 4c281b28075dfa69d8cc2301b06492fbddb62f24 (patch) | |
tree | b788f37caaff5063fd36eecad191d2a5582be12c /plugins/ProxySwitch | |
parent | a243c59835182e2a1fa91d9c7bd80defea88e4e8 (diff) |
LIST::remove + LIST::indexOf() combination removed with LIST::removeItem
Diffstat (limited to 'plugins/ProxySwitch')
-rw-r--r-- | plugins/ProxySwitch/src/ip.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/ProxySwitch/src/ip.cpp b/plugins/ProxySwitch/src/ip.cpp index e36f4ae444..1962ca7382 100644 --- a/plugins/ProxySwitch/src/ip.cpp +++ b/plugins/ProxySwitch/src/ip.cpp @@ -647,7 +647,7 @@ void UnboundConnections(LONG *OldIP, LONG *NewIP) mir_cslock lck(csConnection_List); for (auto &it : g_arConnections.rev_iter()) if (it->IP == (ULONG)*OldIP) - g_arConnections.remove(g_arConnections.indexOf(&it)); + g_arConnections.removeItem(&it); } OldIP++; } |