Skip to content

Commit ebcb740

Browse files
committed
Re-add TorrentParser to BencodeParser default parser list
1 parent d19568b commit ebcb740

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

BencodeNET/Parsing/BencodeParser.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
using BencodeNET.Exceptions;
66
using BencodeNET.IO;
77
using BencodeNET.Objects;
8+
using BencodeNET.Torrents;
89

910
namespace BencodeNET.Parsing
1011
{
@@ -46,7 +47,8 @@ public BencodeParser(Encoding encoding = null)
4647
new BNumberParser(),
4748
new BStringParser(_encoding),
4849
new BListParser(this),
49-
new BDictionaryParser(this)
50+
new BDictionaryParser(this),
51+
new TorrentParser(this)
5052
};
5153
}
5254

0 commit comments

Comments
 (0)