diff --git a/src/bittorrent.cpp b/src/bittorrent.cpp index 9f614c2a6..f8f0de6c1 100644 --- a/src/bittorrent.cpp +++ b/src/bittorrent.cpp @@ -982,7 +982,7 @@ QTorrentHandle Bittorrent::addTorrent(QString path, bool fromScanDir, QString fr // and add them QTorrentHandle h_ex = getTorrentHandle(hash); if(h_ex.is_valid()) { - std::vector old_trackers = h.trackers(); + std::vector old_trackers = h_ex.trackers(); std::vector new_trackers = t->trackers(); bool trackers_added = false; for(std::vector::iterator it=new_trackers.begin();it!=new_trackers.end();it++) {