From 7db20320180b1c79824bfb63533005ee664f2b43 Mon Sep 17 00:00:00 2001 From: Emile Date: Sat, 2 Nov 2019 21:14:58 +0100 Subject: getting the channel from the channels struct --- src/wordlist.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wordlist.go b/src/wordlist.go index 8e9dbca..4125851 100644 --- a/src/wordlist.go +++ b/src/wordlist.go @@ -42,7 +42,7 @@ func writeWordlistToChannel(channels channels, wordlist []string) { // write all the words from the wordlist into the wordlistChannel for _, line := range wordlist { - wordlistChannel <- line + channels.wordlistChannel <- line } log.Printf("%s Done inserting the wordlist elements into the wordlist channel", green("[+]")) -- cgit 1.4.1