about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--src/main.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main.go b/src/main.go
index 1ed2333..25d3f3b 100644
--- a/src/main.go
+++ b/src/main.go
@@ -27,7 +27,8 @@ func main() {
 	// print the responses from the printChannel
 	go printResponses(printChannel)
 
-	if threads > 1 {
+	// handle one or more theads
+	if threads <= 1 {
 		httpRequest(wordlistChannel, printChannel)
 	} else {