Skip to content

Commit

Permalink
Merge pull request #98 from NielsZeilemaker/devel
Browse files Browse the repository at this point in the history
Re-enabled add_extensions
  • Loading branch information
NielsZeilemaker committed Apr 18, 2013
2 parents fa48344 + 7cbd88a commit cb75a6a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Tribler/Core/Libtorrent/LibtorrentMgr.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,11 @@ def __init__(self, trsession, utility):
self.set_download_rate_limit(-1)
self.ltsession.start_upnp()

# Load metadata extension
self.ltsession.add_extension(lt.create_metadata_plugin)
self.ltsession.add_extension(lt.create_ut_metadata_plugin)
self.ltsession.add_extension(lt.create_smart_ban_plugin)

# Start DHT
try:
dht_state = open(os.path.join(self.trsession.get_state_dir(), DHTSTATE_FILENAME)).read()
Expand Down

0 comments on commit cb75a6a

Please sign in to comment.