Fix for AddTorrent
Merge pull request #609 from egbertbouman/addtorrent_fix

Fix for AddTorrent