Use correct trigger for TorrentHound watcher.
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Sun, 11 Jan 2015 11:02:37 +0000 (12:02 +0100)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Sun, 11 Jan 2015 11:02:37 +0000 (12:02 +0100)
src/main/java/net/pterodactylus/rhynodge/watchers/TorrentHoundWatcher.java

index 268054e..f8dd1ef 100644 (file)
@@ -29,7 +29,7 @@ import net.pterodactylus.rhynodge.Trigger;
 import net.pterodactylus.rhynodge.filters.HtmlFilter;
 import net.pterodactylus.rhynodge.filters.torrents.TorrentHoundFilter;
 import net.pterodactylus.rhynodge.queries.HttpQuery;
-import net.pterodactylus.rhynodge.triggers.NewEpisodeTrigger;
+import net.pterodactylus.rhynodge.triggers.NewTorrentTrigger;
 
 import com.google.common.collect.ImmutableList;
 
@@ -86,7 +86,7 @@ public class TorrentHoundWatcher extends DefaultWatcher {
         * @return The trigger of the watcher
         */
        private static Trigger createTrigger() {
-               return new NewEpisodeTrigger();
+               return new NewTorrentTrigger();
        }
 
 }