Change default app for magnet links in Safari

Currently Safari opens magnet links in Bittorrent. I'm moving to Deluge and I want to change the association.

I can't find anything in the preferences of either program to change the association, but I thought that it would be somewhere in com.apple.launchservices.secure.plist. Searching that plist file, I can't find any mention of magnets or bittorrent...

Where is this association recorded and how can I change it?


I use RCDefaultApp to change things such as this when there is not a direct preference that can be set in a given app.

enter image description here