Fix libtorrent extensions from crashing on add_torrent.

This commit is contained in:
Andrew Resch 2007-09-17 04:08:47 +00:00
parent 70b71ad6ce
commit 4a2bb465f0
1 changed files with 1 additions and 0 deletions

View File

@ -142,6 +142,7 @@ void bind_extensions()
// TODO move to it's own file
class_<peer_connection, boost::noncopyable>("peer_connection", no_init);
class_<torrent_plugin, boost::shared_ptr<torrent_plugin> >("torrent_plugin", no_init);
def("create_ut_pex_plugin", create_ut_pex_plugin);
def("create_metadata_plugin", create_metadata_plugin);
}