Skip to content

Commit

Permalink
Re-add TorrentParser to BencodeParser default parser list
Browse files Browse the repository at this point in the history
  • Loading branch information
Krusen committed Oct 17, 2019
1 parent d19568b commit ebcb740
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion BencodeNET/Parsing/BencodeParser.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
using BencodeNET.Exceptions;
using BencodeNET.IO;
using BencodeNET.Objects;
using BencodeNET.Torrents;

namespace BencodeNET.Parsing
{
Expand Down Expand Up @@ -46,7 +47,8 @@ public BencodeParser(Encoding encoding = null)
new BNumberParser(),
new BStringParser(_encoding),
new BListParser(this),
new BDictionaryParser(this)
new BDictionaryParser(this),
new TorrentParser(this)
};
}

Expand Down

0 comments on commit ebcb740

Please sign in to comment.