Don't die in MonoTorrent if nodes is an empty string.

pull/4/head
Taloth Saldono 8 years ago
parent 949d8bf49b
commit 3bc6bf9e99

@ -774,7 +774,8 @@ namespace MonoTorrent
break;
case ("nodes"):
this.nodes = (BEncodedList)keypair.Value;
if (keypair.Value.ToString().Length != 0)
this.nodes = (BEncodedList)keypair.Value;
break;
case ("comment.utf-8"):

Loading…
Cancel
Save