about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorEmile <hanemile@protonmail.com>2019-11-02 21:14:58 +0100
committerEmile <hanemile@protonmail.com>2019-11-02 21:14:58 +0100
commit7db20320180b1c79824bfb63533005ee664f2b43 (patch)
tree680e7bc185b880b7730ed7151892380175afbed7 /src
parentcf44aa5f2d8da5ccc32c0a88ee262b77a3b54be5 (diff)
getting the channel from the channels struct
Diffstat (limited to 'src')
-rw-r--r--src/wordlist.go2
1 files changed, 1 insertions, 1 deletions
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("[+]"))