actually enable i2p

This commit is contained in:
Jeff Becker 2018-09-01 07:26:00 -04:00
parent fab5143cb1
commit 85e6297f4c
No known key found for this signature in database
GPG Key ID: F357B3B42F6F9B05
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ func main() {
fmt.Printf("failed to create onion proxy to %s, %s\n", os.Args[2], err.Error())
return
}
if len(args) > 3 {
if len(args) > 2 {
i2p, err = proxy.SOCKS5("tcp", os.Args[3], nil, nil)
if err != nil {
fmt.Printf("failed to create i2p proxy to %s, %s\n", os.Args[3], err.Error())