diff options
author | Emile <hanemile@protonmail.com> | 2019-11-02 21:14:58 +0100 |
---|---|---|
committer | Emile <hanemile@protonmail.com> | 2019-11-02 21:14:58 +0100 |
commit | 7db20320180b1c79824bfb63533005ee664f2b43 (patch) | |
tree | 680e7bc185b880b7730ed7151892380175afbed7 | |
parent | cf44aa5f2d8da5ccc32c0a88ee262b77a3b54be5 (diff) |
getting the channel from the channels struct
-rw-r--r-- | src/wordlist.go | 2 |
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("[+]")) |