mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-08-14 06:02:31 +00:00
* Added xmlrpc calls for peer snubbed, banned and disconnect.
git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@1180 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
@@ -250,7 +250,7 @@ ElementPeerList::receive_ban_peer() {
|
||||
if (m_listItr == m_list.end())
|
||||
return;
|
||||
|
||||
(*m_listItr)->set_banned();
|
||||
(*m_listItr)->set_banned(true);
|
||||
m_download->download()->connection_list()->erase(*m_listItr, torrent::ConnectionList::disconnect_quick);
|
||||
|
||||
update_itr();
|
||||
|
||||
Reference in New Issue
Block a user